[Asterisk-Users] CID Matches On Incoming BroadVoice???
Jay Milk
jay at skimmilk.net
Tue Jul 19 09:33:22 MST 2005
Wouldn't it have been easier to do...
register => user:pass at sip.broadvoice.com/1234
register => user:pass at sip.broadvoice.com/2345
And then create a dialplan for extensions 1234, 2345, etc?
> -----Original Message-----
> From: BJ Weschke [mailto:bweschke at gmail.com]
> Sent: Tuesday, July 19, 2005 8:11 AM
> To: Nate Kapi; Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] CID Matches On Incoming BroadVoice???
>
>
> The way I fixed this with another provider that had similar
> behavior was to patch chan_sip.c so that it pulled out the
> DNIS value from the
> to: tag in the SIP header and then threw that it into the
> DNID channel variable. Then, I took the common extension ('s'
> in your case) and did a Goto with the value now in DNID to
> get to the appropriate place in the dial plan based on the
> number dialed.
>
> On 7/19/05, Nate Kapi <natekapi at gmail.com> wrote:
> > I have been trying to make Broadvoice match incoming Caller
> ID and do
> > specific things based on the number received, but due to Broadvoice
> > requiring the "s" to start off an incoming extension, I cannot get
> > this to work. Has anyone been able to do this? Here are
> some examples
> > of my setup:
> >
> > from sip.conf:
> > context=broadvoice-incoming
> >
> > from extensions.conf
> > [broadvoice-incoming]
> > exten => s/760899XXXX,1,AGI(db.agi)
> > exten => s/760899XXXX,2,Answer
> > exten => s/760899XXXX,3,Goto(menu,s,1)
> >
> > exten => s,1,Answer
> > exten => s,2,Goto(differentmenu,s,1)
> >
> > I want calls from one NPA-NXX-XXXX to go to one menu and all other
> > calls to another. It has never worked for me though.
> >
> > Any ideas? Thanks! _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To
> UNSUBSCRIBE or update options visit:
>
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list