[Asterisk-Users] sip.conf match

Pepe Aracil pepe at diselpro.com
Fri Apr 1 01:50:17 MST 2005


Thanks to every body for the solution. 
It works fine!! :D




El Viernes, 1 de Abril de 2005 06:02, MF Hulber escribió:
> The way it works with my provider is that although both numbers enter
> the same context, each number will match its own extension.  If I have
> two numbers: 1111111111 and 2222222222 it works as follows:
>
> [sip-in]
>
> exten => 1111111111,1,Noop(First number dialed)
>
> exten => 2222222222,1,Noop(Second number dialed)
>
> ---------------
>
> MARK.
>
> Pepe Aracil wrote:
> >Hello.
> >
> >I have two hired pstn numbers with the same voip provider.
> >I want to distingish in the sip.conf file, what of two phone numbers was
> >dialed, but i don't know how to do the match, because the sip client and
> > the sip host are the same for both numbers.
> >How can i match in sip.conf by the (TO: ) header in sip negotiation?
> >
> >Sorry for my poor english :)
> >
> >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/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list