[asterisk-users] How to handle "+" prefix

SIP sip at arcdiv.com
Fri Aug 31 10:00:09 CDT 2007


Anthony Francis wrote:
> Adrian Marsh wrote:
>   
>> Hi Dovid,
>>
>> Because there may be complex logic in other parts of the context for
>> handling different countries in a different way, so I wouldn't want to
>> duplicate that Dial logic.  Easier to jump back to the beginning of the
>> context and have the digits replaced.
>>
>> I original spoke to the nice folks at Zoiper about this, and they told
>> me that they intentionally do pass the +  Mostly I expect because the
>> client may not know the international prefix (011 inside the US, 00
>> inside the uk, etc).  +  is the international standard for exactly this
>> reason, and therefore as "N." says the A*k server should deal with this.
>>
>>
>> Adrian Marsh
>>
>>  
>> Why not just use Exten => _+.,1,Goto(011${EXTEN:1})
>> Exten => _011.,1,Dial(...... 
>>
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>   
>>     
> How then does a users phone dials this. I have never seen a phone with + 
> on the keypad, nor have I ever seen dail plan logic in a phone that 
> could correctly handle the variable length issue of international 
> numbers in order to do a rewrite and send the + in front. I work mainly 
> with Cisco and Aastra phones but I have never once seen a user dialed 
> call ever have an actual + instead of the code that the meta  implies. 
> In fact the only reference  I could find to + being an actual character 
> is on GSM networks. Still the user would have to use a special input 
> mode to dial this as it is not on their keypad.
>
>
>
>
>   

Actually, on MOST cell phones, dialing a ** gives you a +.  When dialing 
on many hardware VoIP phones, you can either dial via the web interface 
(many of our users do that, and they just type a + like a normal human) 
or you can dial by the phone keypad in which case + is available in the 
same meny with the @ symbol (remember, these are SIP-capable phones -- 
without an @ symbol, it's a poorly designed phone).

 From softphones, you just type a +.  Rather easy and somewhat 
ubiquitous, really.

N.



More information about the asterisk-users mailing list