[Asterisk-Users] sip.conf match

MF Hulber asterisk-admin at hulber.com
Thu Mar 31 21:02:28 MST 2005


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
>  
>



More information about the asterisk-users mailing list