How can I seperate outgoing calls to the same ITSP but with a different DID ??
I have defined a peer in sip.conf for the incoming calls that are routed to a certain [context]. Then in the dialplan this [context] send the incoming calls to the correct context based on the callerID that was send with the incoming call... But how can I send an outgoing call to the ITSP and seperate the outgoing DID's ??? If I define the outgoing DID's [peer] in sip.conf as followed : ; outgoing calls [did1] type=peer host=sip.ITSP username=user1 secret=passwd1 fromuser=user1 [did2] type=peer host=sip.ITSP username=user2 secret=passwd2 fromuser=user2 then incoming calls are matched against these peer-definitions and I get the NOTICE [Jan 29 18:49:07] NOTICE[6314]: chan_sip.c:14703 handle_request_invite: Call from 'did2' to extension "329990102" rejected because extension not found. So how to create multiple outgoing peer definitions without having an incoming call be matched against these peers ???? Thank you ! Jonas. On Fri, 2010-01-29 at 16:51 +0000, Robert Lister wrote: > On Fri, 2010-01-29 at 15:09 +0100, jonas kellens wrote: > > Hello list ! > > > > Having troubles with multiple registrations to one and the same ITSP. > > > > This sip.conf : > > > > register => user1:pass...@sip.itsp > > register => user2:pass...@sip.itsp > > > > ; outgoing conversations > > [user1-out] > > type=peer > > host=sip.ITSP > > Try setting type=friend instead of peer for these and see what happens.
-- _____________________________________________________________________ -- 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