[Asterisk-Dev] Re: Help Asterisk can't call mobiles

Rick.Bates at kaz-group.com Rick.Bates at kaz-group.com
Thu Mar 11 16:31:49 MST 2004


Hi All,

I think I have solved the caller id problem following the change of
pridialplan from national to local!

The number I am setting for caller id 936409XX, it was previously
2936409XX.  I removed the area code and it now works.  It comes up on the
called phone display as 02936409XX, for both landline and mobile called
phone.  It seems like the PSTN is happily adding the full area code, which
is probably the best solution.

I use 900-999 phone numbers for the internal SIP phones to provide a simple
mapping between the inside and the outside.

Relevant part of extensions.conf:
; direct dial out now, no need to use 0 to get outside line
; local numbers
exten=>_9XXXXXXX,1,Wait(1)
exten=>_9XXXXXXX,2,SetCallerID(936409${CALLERIDNUM:1})
; this was exten=>_9XXXXXXX,2,SetCallerID(2936409${CALLERIDNUM:1})
exten=>_9XXXXXXX,3,Playback(beep)
exten=>_9XXXXXXX,4,Dial(Zap/g2/${EXTEN},60,rH)
exten=>_9XXXXXXX,5,Hangup
exten=>_9XXXXXXX,105,Hangup

;area code prefixed numbers
exten=>_0[1-9]XXXXXXXX,1,Wait(1)
exten=>_0[1-9]XXXXXXXX,2,SetCallerID(936409${CALLERIDNUM:1})
; this was exten=>_0[1-9]XXXXXXXX,2,SetCallerID(2936409${CALLERIDNUM:1})
exten=>_0[1-9]XXXXXXXX,3,Playback(beep)
exten=>_0[1-9]XXXXXXXX,4,Dial(Zap/g2/${EXTEN},60,rH)
exten=>_0[1-9]XXXXXXXX,5,Hangup
exten=>_0[1-9]XXXXXXXX,105,Hangup

My next step is to get H323 working so we can migrate to VOIP for our
speech recognition servers rather than current E1, it will be interesting
to see how it effects scalability of Speech(fx), ie can we do more than 30
simultaneous calls per box and still get timely speech recognition results!

Thanks to all who responded.   Asterisk just keeps getting better and
better!

Regards Rick Bates
+612 9808 0306





More information about the asterisk-dev mailing list