Hi,
We are a service provider using Asterisk for our softswitch. We offer SIP
connections via IP phones as well as PRI and POTS replacements for our
customers. However, i am having problems with incoming calls from a Cisco
IAD2431 and its dialing context. When a call comes from the PBX through the
IAD2431 to Asterisk, the calls are not in the customer1 context as they
should be. Our customer is not able to dial 4 digit extensions to their
other IP phones. See config examples below.
Has anyone else experienced the problems I am having?
Thanks,
Sum Ding Wong
;-----------------------
; sip.conf
;-----------------------
[general]
context=default
srvlookup=yes
dtmfmode=inband
qualify=yes
nat=yes
host=dynamic
canreinvite=no
pedantic=no
disallow=all
allow=ulaw
allow=g729
allow=g723
allow=alaw
[ 12.34.43.3]
context=customer1
type=friend
qualify=200
host=12.34.43.3
canreinvite=no
;------------------------------
; Extensions.conf
;------------------------------
[macro-voicemail]
;usage Macro(voicemail,<extension>,<mailbox>)
exten => s,1,Dial(${ARG1},15,rt)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${ARG2})
exten => s-BUSY,1,Voicemail(b${ARG2})
exten => _s-.,1,Goto(s-NOANSWER,1)
[customer1]
include => voicemail
include => customer1-did
include => customer1-internal
include => outgoing-unlimited
[customer1-internal]
exten => _*.,1,Pickup(${EXTEN:1})
exten => 1272,1,Macro(voicemail,SIP/2125551272,2125551272)
exten => 1273,1,Macro(voicemail,SIP/2125551273,2125551273)
exten => 1274,1,Macro(voicemail,SIP/2125551274,2125551274)
exten => 1275,1,Macro(voicemail,SIP/2125551275,2125551275)
exten => 1276,1,Macro(voicemail,SIP/2125551276,2125551276)
[customer1-did]
exten => 2125551285,1,Dial( SIP/2125551285@12.34.43.3,30,rt )
exten => 2125551272,1,Macro(voicemail,SIP/2125551272,2125551272)
exten => 2125551273,1,Macro(voicemail,SIP/2125551273,2125551273)
exten => 2125551274,1,Macro(voicemail,SIP/2125551274,2125551274)
exten => 2125551275,1,Macro(voicemail,SIP/2125551275,2125551275)
exten => 2125551276,1,Macro(voicemail,SIP/2125551276,2125551276)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20060201/9c903c73/attachment.htm
Hi,
We are a service provider using Asterisk for our softswitch. We offer
SIP connections via IP phones as well as PRI and POTS replacements for
our customers. However, i am having problems with incoming calls from
a Cisco IAD2431 and its dialing context. When a call comes from the
PBX through the IAD2431 to Asterisk, the calls are not in the
customer1 context as they should be. Our customer is not able to dial
4 digit extensions to their other IP phones. See config examples
below.
Has anyone else experienced the problems I am having?
Thanks,
Sum Ding Wong
;-----------------------
; sip.conf
;-----------------------
[general]
context=default
srvlookup=yes
dtmfmode=inband
qualify=yes
nat=yes
host=dynamic
canreinvite=no
pedantic=no
disallow=all
allow=ulaw
allow=g729
allow=g723
allow=alaw
[ 12.34.43.3]
context=customer1
type=friend
qualify=200
host= 12.34.43.3
canreinvite=no
;------------------------------
; Extensions.conf
;------------------------------
[macro-voicemail]
;usage Macro(voicemail,<extension>,<mailbox>)
exten => s,1,Dial(${ARG1},15,rt)
exten => s,2,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Voicemail(u${ARG2})
exten => s-BUSY,1,Voicemail(b${ARG2})
exten => _s-.,1,Goto(s-NOANSWER,1)
[customer1]
include => voicemail
include => customer1-did
include => customer1-internal
include => outgoing-unlimited
[customer1-internal]
exten => _*.,1,Pickup(${EXTEN:1})
exten => 1272,1,Macro(voicemail,SIP/2125551272,2125551272)
exten => 1273,1,Macro(voicemail,SIP/2125551273,2125551273)
exten => 1274,1,Macro(voicemail,SIP/2125551274,2125551274)
exten => 1275,1,Macro(voicemail,SIP/2125551275,2125551275)
exten => 1276,1,Macro(voicemail,SIP/2125551276,2125551276)
[customer1-did]
exten => 2125551285,1,Dial( SIP/2125551285@12.34.43.3,30,rt )
exten => 2125551272,1,Macro(voicemail,SIP/2125551272,2125551272)
exten => 2125551273,1,Macro(voicemail,SIP/2125551273,2125551273)
exten => 2125551274,1,Macro(voicemail,SIP/2125551274,2125551274)
exten => 2125551275,1,Macro(voicemail,SIP/2125551275,2125551275)
exten => 2125551276,1,Macro(voicemail,SIP/2125551276,2125551276)
same problem here, made a workaround with an agi>Hi, > >We are a service provider using Asterisk for our softswitch. We offer >SIP connections via IP phones as well as PRI and POTS replacements for >our customers. However, i am having problems with incoming calls from >a Cisco IAD2431 and its dialing context. When a call comes from the >PBX through the IAD2431 to Asterisk, the calls are not in the >customer1 context as they should be. Our customer is not able to dial >4 digit extensions to their other IP phones. See config examples >below. > >Has anyone else experienced the problems I am having? > >Thanks, > >Sum Ding Wong > >;----------------------- >; sip.conf >;----------------------- > [general] >context=default >srvlookup=yes >dtmfmode=inband >qualify=yes >nat=yes >host=dynamic >canreinvite=no >pedantic=no >disallow=all >allow=ulaw >allow=g729 >allow=g723 >allow=alaw > >[ 12.34.43.3] >context=customer1 >type=friend >qualify=200 >host= 12.34.43.3 >canreinvite=no > >;------------------------------ >; Extensions.conf >;------------------------------ >[macro-voicemail] >;usage Macro(voicemail,<extension>,<mailbox>) >exten => s,1,Dial(${ARG1},15,rt) >exten => s,2,Goto(s-${DIALSTATUS},1) >exten => s-NOANSWER,1,Voicemail(u${ARG2}) >exten => s-BUSY,1,Voicemail(b${ARG2}) >exten => _s-.,1,Goto(s-NOANSWER,1) > > >[customer1] >include => voicemail >include => customer1-did >include => customer1-internal >include => outgoing-unlimited > >[customer1-internal] >exten => _*.,1,Pickup(${EXTEN:1}) > >exten => 1272,1,Macro(voicemail,SIP/2125551272,2125551272) >exten => 1273,1,Macro(voicemail,SIP/2125551273,2125551273) >exten => 1274,1,Macro(voicemail,SIP/2125551274,2125551274) >exten => 1275,1,Macro(voicemail,SIP/2125551275,2125551275) >exten => 1276,1,Macro(voicemail,SIP/2125551276,2125551276) > >[customer1-did] >exten => 2125551285,1,Dial( SIP/2125551285@12.34.43.3,30,rt ) >exten => 2125551272,1,Macro(voicemail,SIP/2125551272,2125551272) >exten => 2125551273,1,Macro(voicemail,SIP/2125551273,2125551273) >exten => 2125551274,1,Macro(voicemail,SIP/2125551274,2125551274) >exten => 2125551275,1,Macro(voicemail,SIP/2125551275,2125551275) >exten => 2125551276,1,Macro(voicemail,SIP/2125551276,2125551276) >_______________________________________________ >--Bandwidth and Colocation provided by Easynews.com -- > >Asterisk-Users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
Can you send me details of the workaround? Do you know if this is a common bug? On 2/1/06, Simone Cittadini <mymailforlists@gmail.com> wrote:> > same problem here, made a workaround with an agi > > >Hi, > > > >We are a service provider using Asterisk for our softswitch. We offer > >SIP connections via IP phones as well as PRI and POTS replacements for > >our customers. However, i am having problems with incoming calls from > >a Cisco IAD2431 and its dialing context. When a call comes from the > >PBX through the IAD2431 to Asterisk, the calls are not in the > >customer1 context as they should be. Our customer is not able to dial > >4 digit extensions to their other IP phones. See config examples > >below. > > > >Has anyone else experienced the problems I am having? > > > >Thanks, > > > >Sum Ding Wong > > > >;----------------------- > >; sip.conf > >;----------------------- > > [general] > >context=default > >srvlookup=yes > >dtmfmode=inband > >qualify=yes > >nat=yes > >host=dynamic > >canreinvite=no > >pedantic=no > >disallow=all > >allow=ulaw > >allow=g729 > >allow=g723 > >allow=alaw > > > >[ 12.34.43.3] > >context=customer1 > >type=friend > >qualify=200 > >host= 12.34.43.3 > >canreinvite=no > > > >;------------------------------ > >; Extensions.conf > >;------------------------------ > >[macro-voicemail] > >;usage Macro(voicemail,<extension>,<mailbox>) > >exten => s,1,Dial(${ARG1},15,rt) > >exten => s,2,Goto(s-${DIALSTATUS},1) > >exten => s-NOANSWER,1,Voicemail(u${ARG2}) > >exten => s-BUSY,1,Voicemail(b${ARG2}) > >exten => _s-.,1,Goto(s-NOANSWER,1) > > > > > >[customer1] > >include => voicemail > >include => customer1-did > >include => customer1-internal > >include => outgoing-unlimited > > > >[customer1-internal] > >exten => _*.,1,Pickup(${EXTEN:1}) > > > >exten => 1272,1,Macro(voicemail,SIP/2125551272,2125551272) > >exten => 1273,1,Macro(voicemail,SIP/2125551273,2125551273) > >exten => 1274,1,Macro(voicemail,SIP/2125551274,2125551274) > >exten => 1275,1,Macro(voicemail,SIP/2125551275,2125551275) > >exten => 1276,1,Macro(voicemail,SIP/2125551276,2125551276) > > > >[customer1-did] > >exten => 2125551285,1,Dial( SIP/2125551285@12.34.43.3,30,rt ) > >exten => 2125551272,1,Macro(voicemail,SIP/2125551272,2125551272) > >exten => 2125551273,1,Macro(voicemail,SIP/2125551273,2125551273) > >exten => 2125551274,1,Macro(voicemail,SIP/2125551274,2125551274) > >exten => 2125551275,1,Macro(voicemail,SIP/2125551275,2125551275) > >exten => 2125551276,1,Macro(voicemail,SIP/2125551276,2125551276) > >_______________________________________________ > >--Bandwidth and Colocation provided by Easynews.com -- > > > >Asterisk-Users mailing list > >To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Can you send me the agi script you used to fix this problem? On 2/1/06, Simone Cittadini <mymailforlists@gmail.com> wrote:> > same problem here, made a workaround with an agi > > >Hi, > > > >We are a service provider using Asterisk for our softswitch. We offer > >SIP connections via IP phones as well as PRI and POTS replacements for > >our customers. However, i am having problems with incoming calls from > >a Cisco IAD2431 and its dialing context. When a call comes from the > >PBX through the IAD2431 to Asterisk, the calls are not in the > >customer1 context as they should be. Our customer is not able to dial > >4 digit extensions to their other IP phones. See config examples > >below. > > > >Has anyone else experienced the problems I am having? > > > >Thanks, > > > >Sum Ding Wong > > > >;----------------------- > >; sip.conf > >;----------------------- > > [general] > >context=default > >srvlookup=yes > >dtmfmode=inband > >qualify=yes > >nat=yes > >host=dynamic > >canreinvite=no > >pedantic=no > >disallow=all > >allow=ulaw > >allow=g729 > >allow=g723 > >allow=alaw > > > >[ 12.34.43.3] > >context=customer1 > >type=friend > >qualify=200 > >host= 12.34.43.3 > >canreinvite=no > > > >;------------------------------ > >; Extensions.conf > >;------------------------------ > >[macro-voicemail] > >;usage Macro(voicemail,<extension>,<mailbox>) > >exten => s,1,Dial(${ARG1},15,rt) > >exten => s,2,Goto(s-${DIALSTATUS},1) > >exten => s-NOANSWER,1,Voicemail(u${ARG2}) > >exten => s-BUSY,1,Voicemail(b${ARG2}) > >exten => _s-.,1,Goto(s-NOANSWER,1) > > > > > >[customer1] > >include => voicemail > >include => customer1-did > >include => customer1-internal > >include => outgoing-unlimited > > > >[customer1-internal] > >exten => _*.,1,Pickup(${EXTEN:1}) > > > >exten => 1272,1,Macro(voicemail,SIP/2125551272,2125551272) > >exten => 1273,1,Macro(voicemail,SIP/2125551273,2125551273) > >exten => 1274,1,Macro(voicemail,SIP/2125551274,2125551274) > >exten => 1275,1,Macro(voicemail,SIP/2125551275,2125551275) > >exten => 1276,1,Macro(voicemail,SIP/2125551276,2125551276) > > > >[customer1-did] > >exten => 2125551285,1,Dial( SIP/2125551285@12.34.43.3,30,rt ) > >exten => 2125551272,1,Macro(voicemail,SIP/2125551272,2125551272) > >exten => 2125551273,1,Macro(voicemail,SIP/2125551273,2125551273) > >exten => 2125551274,1,Macro(voicemail,SIP/2125551274,2125551274) > >exten => 2125551275,1,Macro(voicemail,SIP/2125551275,2125551275) > >exten => 2125551276,1,Macro(voicemail,SIP/2125551276,2125551276) > >_______________________________________________ > >--Bandwidth and Colocation provided by Easynews.com -- > > > >Asterisk-Users mailing list > >To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Sum Ding Wong "I feel more like I do now than I did a while ago"