search for: _1xx0

Displaying 2 results from an estimated 2 matches for "_1xx0".

Did you mean: _1xx
2006 Mar 09
2
Extracting info from the $EXTEN variable
Is there a way to access only certain positions in the $EXTEN variable? I'd like to filter my international calls based on the destination country: My dialplan looks like this (1XX0. is the international calling convention for Chile) exten => _1XX0.,1,Dial(SIP/${EXTEN:4}@external_provider) But, I'd like to, depending on the destination country (digits 5 and eventually 6 of EXTEN), route my calls for another provider, something like: exten => _1XX0.,1,GotoIf(${EXTEN[5-6]} == certain_pattern)?2,3) exten => _1XX0.,2,Dial(SIP/${EXTEN...
2006 Mar 07
1
Changing REINVITE status of the channel dynamically
I've an Asterisk server running in my office, which forwards all long distance calls to a third party SIP service using an extension rule: exten => _1XX0.,1,Dial(SIP/{EXTEN:4}@external_sip_server.com) (1XX0 is the international calls rule for Chile) Also, in my sip.conf, I've defined canreinvite=yes to decrease the network load to the server caused by the RTP. However, the external sip server seems to be buggy, because the REINVITE's ag...