Jeremy, Did you get this working?
On Thu, Apr 17, 2008 at 7:38 AM, Jeremy Mann <[EMAIL PROTECTED]> wrote: > I have it working via IAX, when I try changing everything to SIP I can't > specify a username and an extension, so it becomes useless. > > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves > Sent: Thursday, April 17, 2008 6:51 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] DUNDi and SIP > > Jeremy, > > Here is a working sample to compare to. This is an IAX2 setup, but the > only difference is in the mapping change IAX2 to SIP. Notice the 4th > setting in the mapping? It defines to use the IAX2 peer "priv" with > the secret generated of the key defined in the peers section of > dundi.conf. When you look at the peer in iax.conf on the remote box, > there is no host entry and it uses dbsecret=dundi/secret, the > > dundi.conf > priv => dundi-internal,0,IAX2,priv:[EMAIL PROTECTED]/${NUMBER},nopartial > > [00:19:66:1C:78:D5] ; Dev Box > model = symmetric > host = 192.168.99.252 > inkey = eus > outkey = eus > include = priv > permit = priv > qualify = yes > > > From iax.conf > [priv] > type=friend > dbsecret=dundi/secret > context=longdistance > > Hope this helps, in your case Dundi will save you a world of work on > configuring that many systems, in fact if you structure Dundi like > spokes around a small number of master servers, the config gets real > easy.Let me know how it goes. > > On Wed, Apr 16, 2008 at 8:41 AM, Jeremy Mann <[EMAIL PROTECTED]> wrote: > > > > > > > > > > I'm a little confused with DUNDi and SIP as the backend channel type: > > > > > > > > Dundi.conf: > > > > [mappings] > > > > priv => dundi-priv-local,0,SIP,[EMAIL PROTECTED],nopartial > > > > > > > > Using the above, the dial string passed to the person on the other box is > > SIP/[EMAIL PROTECTED] > > > > > > > > How can you use authentication, along with SIP, along with specifying > > extension? > > > > > > > > My sip.conf has a friend defined: > > > > > > > > [priv] > > > > host=dynamic > > > > secret=priv > > > > disallow=all > > > > allow=ulaw > > > > canreinvite=no > > > > nat=no > > > > context=from-internal\ > > > > type=friend > > > > > > > > I need to specify the sip channel to use the priv peer, priv secret, and > > pass the extension. I've tried defining my mapping as: > > > > > > > > Priv => dundi-priv-local,0,SIP,priv:[EMAIL PROTECTED]/${NUMBER},nopartial > > > > > > > > But obviously the console on the far end complains that peer > > a.b.c.d/${NUMBER} cannot be found. > > > > > > > > Thanks for any insight into this. I'd prefer not having to define a sip > > peer per box(I have 25 connected in my dundi cloud), nor would I like to > > enable anonymous SIP calls, as I have the ports open to the world for > > inbound sip from bandwidth.com > > > > > > > > > > ________________________________ > > This e-mail, facsimile, or letter and any files or attachments transmitted > > with it contains information that is confidential and privileged. This > > information is intended only for the use of the individual(s) and > > entity(ies) to whom it is addressed. If you are the intended recipient, > > further disclosures are prohibited without proper authorization. If you are > > not the intended recipient, any disclosure, copying, printing, or use of > > this information is strictly prohibited and possibly a violation of federal > > or state law and regulations. If you have received this information in > > error, please notify Texas Health Management Group immediately at > > 1-817-310-4999. Texas Health Management Group, its subsidiaries, and > > affiliates hereby claim all applicable privileges related to this > > information. > > > > _______________________________________________ > > -- 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 > > > > > > -- > ***************************** > Bruce Reeves, dCAp > EUS Networks > Office: 212-624-5943 > Web: www.euscorp.com > **************************** > > _______________________________________________ > -- 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 > > This e-mail, facsimile, or letter and any files or attachments transmitted > with it contains information that is confidential and privileged. This > information is intended only for the use of the individual(s) and entity(ies) > to whom it is addressed. If you are the intended recipient, further > disclosures are prohibited without proper authorization. If you are not the > intended recipient, any disclosure, copying, printing, or use of this > information is strictly prohibited and possibly a violation of federal or > state law and regulations. If you have received this information in error, > please notify Texas Health Management Group immediately at 1-817-310-4999. > Texas Health Management Group, its subsidiaries, and affiliates hereby claim > all applicable privileges related to this information. > > _______________________________________________ > -- 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 > -- ***************************** Bruce Reeves, dCAp EUS Networks Office: 212-624-5943 Web: www.euscorp.com **************************** _______________________________________________ -- 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
