[asterisk-users] Outgoing PRI CID?
Anciso, Roy
roy at manistee.org
Thu Nov 1 14:06:18 CDT 2007
I do this to tie extensions to a particular number:
exten => _9X./_2XXX,1,SET(CALLERID(all)=Manistee ISD<2317231516>)
exten => _9X./_1XXX,1,SET(CALLERID(all)=MISD Tecnology<2317234264>)
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Turbo
Fredriksson
Sent: Thursday, November 01, 2007 2:32 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Outgoing PRI CID?
We have now got our new PRI line (10 channels, 100 numbers) connected
and everything is working except the outgoing caller ID. Whatever
SIP phone I'm using, the CID that's shown is the very first number...
----- s n i p -----
[default]
include => outgoing
include => priin
[outgoing]
exten => _NXXXXX.,1,Macro(dial,08${EXTEN},${RINGTIME}) ; Local
number (w/o areacode) - Stockholm
exten => _0NX.,1,Macro(dial,${EXTEN},30,r)
[priin]
exten => _X.,1,Dial(IAX2/graham/${EXTEN},30,r)
[macro-dial]
exten => s,1,NoOp(Trying extension/number: ${ARG1} from
${CALLERID(num)})
;exten => s,n,Set(CALLERID(num)=${CALLERID(num)})
exten => s,n,Dial(Zap/g1/${ARG1},${RINGTIME},r)
exten => s,n,Playback(connection-failed)
exten => s,n,Congestion()
----- s n i p -----
This * is only for PRI connection. The actual routing is done
in an * installation running under a XEN domain...
Incoming works exactly as planed. So is the 'macro-dial'
with the exception that the numer shown in the receiving
end is '500' (the switchboard). This even if/when I call
from '528'...
Any ideas?
_______________________________________________
--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
More information about the asterisk-users
mailing list