search for: set_var

Displaying 17 results from an estimated 17 matches for "set_var".

Did you mean: get_var
2016 Apr 25
2
Is set_var allowed with pjsip_wizard.conf ?
...Joseph <gjoseph at digium.com> >> wrote: >> >>> >>> >>> On Mon, Apr 25, 2016 at 9:29 AM, Olivier <oza.4h07 at gmail.com> wrote: >>> >>>> Hello, >>>> >>>> I've just discovered PJSIP 's support of set_var setting in pjsip.conf. >>>> Is this setting also supported in pjsip_wizard.conf ? >>>> On a fresh 13.8.2, it doesn't seem but I may have missed somthing. >>>> >>> >>> I thought it did. Let me check. >>> >> >> It's w...
2016 Apr 25
2
Is set_var allowed with pjsip_wizard.conf ?
On Mon, Apr 25, 2016 at 10:00 AM, George Joseph <gjoseph at digium.com> wrote: > > > On Mon, Apr 25, 2016 at 9:29 AM, Olivier <oza.4h07 at gmail.com> wrote: > >> Hello, >> >> I've just discovered PJSIP 's support of set_var setting in pjsip.conf. >> Is this setting also supported in pjsip_wizard.conf ? >> On a fresh 13.8.2, it doesn't seem but I may have missed somthing. >> > > I thought it did. Let me check. > It's working for me... [1000] type = wizard endpoint/set_var = xxxxx=t...
2016 Apr 25
2
Is set_var allowed with pjsip_wizard.conf ?
Hello, I've just discovered PJSIP 's support of set_var setting in pjsip.conf. Is this setting also supported in pjsip_wizard.conf ? On a fresh 13.8.2, it doesn't seem but I may have missed somthing. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachmen...
2016 Sep 08
3
PJSIP Weirdness, or just my weirdness?
...urftest12 moh_suggest=default force_rport=yes rewrite_contact=yes rtp_symmetric=yes dtmf_mode=rfc4733 disallow=all allow=ulaw ; from phonetype allow=g722 ; from phonetype allow=alaw ; from phonetype allow=alaw ; from phonetype (G.729 replaced with alaw) direct_media=no context=phone rtp_timeout=120 set_var=__phoneid=12 set_var=__contacttypeid=4 set_var=__phonelineid=78 callerid="Steve Murphy" <101> call_group=2 pickup_group=2 mailboxes=101 at murftest language=en send_rpid=yes send_pai=yes ?OK, that completes the config (I hope). Now, when I run "pjsip show endpoints, I get:?...
2015 Mar 04
1
PJSIP: Failed to create outgoing session to endpoint
...transport bind=0.0.0.0:5070 protocol=udp [srv_d228] type=endpoint language=ru rtp_symmetric=yes force_rport=yes disable_direct_media_on_nat=yes rewrite_contact=yes ice_support=yes disallow=all allow=alaw context=ext-fromservers from_domain=sipnet.ru from_user=talk37.ru aors=srv_d228 auth=srv_d228 set_var=fromDeviceId=228 set_var=fromUserId=2 outbound_auth=srv_d228 ;outbound_proxy=sip:sipnet.ru:5060 transport=transport-udp [srv_d228] type=aor qualify_frequency=30 contact=sip:sipnet.ru:5060 ;outbound_proxy=sip:sipnet.ru:5060 max_contacts=10 remove_existing=yes [srv_d228] type=auth auth_type=userpas...
2006 Jan 23
5
Variable Scoping Problem
I am having some problems with variable scoping. I need to be able to set a variable that is accessable by other methods within the class (or instance) (i.e not global). An example is 2 pages that change a class variable: class AjtestController < ApplicationController def initialize @@variable = "init" end def show @display = @@variable @@variable = "change 1"
2009 Sep 07
1
Usage of OCaml/R binding.
...; > type sexp = R.sexp > type symbol = string > type arg = [ `Anon of sexp | `Named of sexp * symbol ] > external sexp : string -> sexp = "r_sexp_of_string" > external sexp_of_symbol : symbol -> sexp = "r_sexp_of_symbol" > external set_var : symbol -> sexp -> unit = "r_set_var" > external r_print_value : sexp -> unit = "r_print_value" > external exec : string -> arg array -> unit = "r_exec" > external current_test : unit -> unit = "r_current_test" >...
2009 Sep 07
1
Usage of OCaml/R binding.
...; > type sexp = R.sexp > type symbol = string > type arg = [ `Anon of sexp | `Named of sexp * symbol ] > external sexp : string -> sexp = "r_sexp_of_string" > external sexp_of_symbol : symbol -> sexp = "r_sexp_of_symbol" > external set_var : symbol -> sexp -> unit = "r_set_var" > external r_print_value : sexp -> unit = "r_print_value" > external exec : string -> arg array -> unit = "r_exec" > external current_test : unit -> unit = "r_current_test" >...
2004 Sep 15
0
AGI didn't get var from Asterisk?
...;MaxRetries: 1\r\n"; $channel.="RetryTime: 90\r\n"; $channel.="WaitTime: 60\r\n"; The AGI Script: #!/usr/bin/php -q <? require ("phpagi.php"); $agi=new AGI(); $dbid=$agi->get_var("ADBID"); $tt=$agi->set_var("Adbid1", $dbid); echo "VERBOSE DID: $dbid"; ?> Console: -- Launched AGI Script UpdateAutoDial.php UpdateAutoDial.php|45: 'agi_request' => 'UpdateAutoDial.php' UpdateAutoDial.php|45: 'agi_channel' => 'Zap/1-1'...
2016 Jul 01
2
CALLERID on pjsip doesn't work?
Asterisk 13.8 Is CALLERID(all) supposed to wok for pjsip? When I do this: exten => 1234,Set(CALLERID(all)="Jon Doe" <+123456789>) same => n,Dial(PJSIP/phone123, 30) I expect the callerid to be as set, but is always seems to be "phone123", the name of the endpoint. Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL:
2019 Apr 22
2
Incoming SIP call, outgoing SIP registration. PJSIP.
...contact=yes rtp_symmetric=yes force_rport=yes [registration0](!) type=registration transport=0.0.0.0-udp retry_interval=60 max_retries=10 expiration=3600 auth_rejection_permanent=yes server_uri=sip:172.16.25.23 [fxs17](endpoint0) context=from-sip-fxs aors=fxs17 outbound_auth=fxs17 from_user=1121 set_var=DAHDICHAN=17 [fxs17] type=aor qualify_frequency=60 contact=sip:1121 at 172.16.25.23 [fxs17] type=auth auth_type=userpass password=111111 username=1121 [fxs17](registration0) outbound_auth=fxs17 client_uri=sip:1121 at 172.16.25.23 contact_user=fxs17
2016 Jul 04
2
CALLERID on pjsip doesn't work?
...rue one_touch_recording=false cos_video=0 accountcode= allow=(g722|ulaw|alaw) rewrite_contact=false t38_udptl_ipv6=false tone_zone= user_eq_phone=false allow_subscribe=true rtp_engine=asterisk auth=DEADDEADBEEF from_user=DEADDEADBEEF bind_rtp_to_media_address=false disable_direct_media_on_nat=false set_var= use_ptime=false outbound_auth= media_address= tos_audio=0 dtls_ca_path= dtls_setup=active force_rport=false connected_line_method=invite callerid_tag= timers=yes sdp_owner=- trust_id_outbound=false use_avpf=false context=default moh_suggest=default send_pai=false t38_udptl=false dtls_ca_file= call...
2017 Jun 05
3
asterisk 13.16 / pjsip / t.38: res_pjsip_t38.c:207 t38_automatic_reject: Automatically rejecting T.38 request on channel 'PJSIP/91-00000007'
On 06/05/2017 at 11:30 AM, Joshua Colp wrote: > On Sun, Jun 4, 2017, at 10:40 AM, Michael Maier wrote: >> On 06/04/2017 at 01:41 PM Telium Technical Support wrote: >>> Just a guess (without knowing about your network), but are the two ends >>> points on public networks and visible to one another? If not the reinvite >>> may be passing an internal (nat'ed)
2009 May 13
1
[PATCH server] Cloud UI V1 (readonly).
...Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. A copy of the GNU General Public License is +# also available at http://www.gnu.org/copyleft/gpl.html. + +class Cloud::CloudController < ApplicationController + include VmService + + layout 'cloud/cloud' + + before_filter :set_vars + + protected + + + # NOTE: This probably will/should be moved to use set_perms in + # ApplicationService once that is ready to go. + def set_vars + @user = get_login_user + end +end diff --git a/src/app/controllers/cloud/dashboard_controller.rb b/src/app/controllers/cloud/dashboard_contro...
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order: * [PATCH server] Add svc_vm_actions method to VmService. * [PATCH server] Cloud UI layer to initiate actions on vms. The service layer patch should work fine on its own (and not break anything), but cloud patch relies on service being there.