Re: [asterisk-users] DUNDi with SIP Mapping
On Wed, Apr 16, 2014 at 10:20 AM, Kevin Larsen kevin.lar...@pioneerballoon.com wrote: You are a bit outside of what I have done, but this looks like it might be what you want to do with SIP: http://www.voip-info.org/wiki/view/DUNDi+Enterprise+Configuration+SIP I had looked at that guide before, but couldn't get it working. I could do SIP without authentication. This would have worked if I only wanted to terminate calls to extensions. For future purposes I wanted to include PSTN routes. In the end I went with IAX and have it up and running. It was actually simple to integrate with FreePBX. The important piece was setting ttl to 1 to prevent DUNDi lookup loops, which would cause the box to sometimes see its own DUNDi extensions. The one FreePBX box with the PRI will try 10 digits numbers on DUNDi private then go out the PRI. The other FreePBX boxes try to dial 10 digit numbers on DUNDi private then use DUNDi to reach the PSTN. This allows me to add additionally FreePBX boxes with PSTN connections and use weights. Additionally providing a separate mapping for the PSTN allows toll free to first try DUNDi private, then a VoIP provider, then the DUNDi PSTN. cd /var/lib/asterisk/keys astgenkey -n `hostname -f` chown asterisk:asterisk * share .pub keys between all servers vim /etc/asterisk/dundi.conf cachetime=60 ttl=1 priv = dundi-extens,0,IAX2,dundi:${ SECRET}@1.1.1.1/${NUMBER},nounsolicited,nocomunsolicit,nopartial priv = dundi-dids,100,IAX2,dundi:${ SECRET}@1.1.1.1/${NUMBER},nounsolicited,nocomunsolicit,nopartial pstn = dundi-via-pstn,400,IAX2,dundi:${ SECRET}@1.1.1.1/${NUMBER},nounsolicited,nocomunsolicit,nopartial ;[EID of remote DUNDi peer] ;model = symmetric ;host = IP or FQDN of remote DUNDi peer ;inkey = public key of remote DUNDi peer, without .pub ;outkey = private key of local PBX, without .key ;include = all ;permit = all ;qualify = yes vim /etc/asterisk/extensions_custom.conf [dundi-local] include = dundi-extens include = dundi-dids include = dundi-via-pstn [dundi-local-keepcid] exten = _X.,1,Set(KEEPCID=TRUE) exten = _X.,n,Goto(dundi-local,${EXTEN},1) [dundi-extens] include = ext-queues include = ext-findmefollow include = ext-group include = ext-local [dundi-dids] include = ext-did-0002 [dundi-via-pstn] include = outbound-allroutes FreePBX Trunks Type: DUNDi Trunk Name: DUNDi Private DUNDi Mapping: priv Type: DUNDi Trunk Name: DUNDi Pstn DUNDi Mapping: pstn Type: IAX Trunk Name: DUNDi Outgoing Settings: Trunk Name: dundi PEER Details: type=friend dbsecret=dundi/secret disallow=all context=dundi-local-keepcid allow=ulawg729 FreePBX Outbound Routes Route Name: dundi Route Type: Intra-Company Dial Pattern: NXXX Trunk: DUNDi Private Route Name: outbound Dial Pattern: 1NXXNXX Dial Pattern: NXXNXX Trunk: DUNDi Private Trunk: PRI or DUNDi Pstn -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DUNDi with SIP Mapping
From the reading and testing I have done it doesn't look like SIP supports a username and password in the Dial string. I currently have the following mapping. priv = dundi-extens,0,SIP,dundi:pass@1.1.1.1/$ {NUMBER},nounsolicited,nocomunsolicit,nopartial On the sending side I see NOTICE[31598] chan_sip.c: Conflicting extension values given. Using 'dundi' and not '1001' On the receiving side it will not match the SIP dundi user and tries to call dundi instead of 1001. -- Executing [dundi@from-sip-external:1] NoOp(SIP/1.1.1. 2-, Received incoming SIP connection from unknown peer to dundi) in new stack Is there a way to configure DUNDi to use SIP or does it only work with IAX? I am using DUNDi with SIP to do some least cost routing amongst my various locations. My mapping is close to what you have: priv = dundi-extens,0,SIP,trunk_name/number_to_dial Where trunk_name is replaced with the actual name of my trunk as defined in sip.conf and number_to_dial is the number they should dial on that trunk. I have not tried to define the SIP username/password in the DUNDi config itself, so I don't know if what you are trying to do is possible or not.-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DUNDi with SIP Mapping
On Wed, Apr 16, 2014 at 9:06 AM, Kevin Larsen kevin.lar...@pioneerballoon.com wrote: I am using DUNDi with SIP to do some least cost routing amongst my various locations. My mapping is close to what you have: priv = dundi-extens,0,SIP,trunk_name/number_to_dial Where trunk_name is replaced with the actual name of my trunk as defined in sip.conf and number_to_dial is the number they should dial on that trunk. I have not tried to define the SIP username/password in the DUNDi config itself, so I don't know if what you are trying to do is possible or not. I was trying to avoid having to define the SIP trunks on all systems. I currently have three FreePBX systems connected by SIP trunks with 800 DIDs. Each system has SIP trunks defined to both other systems and routes defining the extensions / DIDs. As I add more DID blocks and FreePBX systems maintaining the trunks and routes is going to become cumbersome. I wanted to move to DUNDi to simplify the setup. It looks like I need to switch to IAX trunks to be able to do this. Thanks, Ryan -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DUNDi with SIP Mapping
I wanted to move to DUNDi to simplify the setup. It looks like I need to switch to IAX trunks to be able to do this. You are a bit outside of what I have done, but this looks like it might be what you want to do with SIP: http://www.voip-info.org/wiki/view/DUNDi+Enterprise+Configuration+SIP-- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DUNDi and SIP
I think I'm going to go about this a different way, if it works I'll post my solution. Essentially I'm going to limit the calls by grouping(didn't know you could use categories until I did the research) and math. Limiting our corporate office to 10 IAX calls, both incoming and outgoing together, and denying the call if it's above that(sending chanunavail or something similar). I'll then run all dials through a macro, looking up dundi routes. If it fails I'll fall back to zap. Thanks for the help though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Wednesday, April 23, 2008 5:21 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Take a look at this setup, it does not use passwords on the sip peers or the mappings in Dundi. As long as you inside your network this maybe the way to go. http://www.voip-info.org/wiki/view/DUNDi+Enterprise+Configuration+SIP+with+no+passwords You could also look at the incominglimit and outgoinglimit on IAX peers On Wed, Apr 23, 2008 at 4:51 PM, Jeremy Mann [EMAIL PROTECTED] wrote: I'm fairly sure SIP will never work unless I hard-code peers everywhere, which isn't going to happen. The only reason I want to use it is for the call-limit option. Looking at sip channels there is no option to pass the extension after the IP, it's always [EMAIL PROTECTED], or [EMAIL PROTECTED], not [EMAIL PROTECTED]/extension or [EMAIL PROTECTED]/extension Looks like IAX and ZAP are the only two channel types that do a /extension type setup. Extensions.conf: [macro-dundi-lookup] exten = s,1,Goto(${ARG1},1) include = dundi-priv-local include = dundi-priv-lookup [dundi-priv-local] include = internal [dundi-priv-lookup] switch = DUNDi/priv Dundi.conf: [mappings] priv = dundi-priv-local,0,IAX2,priv:[EMAIL PROTECTED]/${NUMBER},nopartial -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Wednesday, April 23, 2008 4:44 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Jeremy, It is not the dip peer that is failing but the dial plan: -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) What is in the context macro-dundi-lookup? On Wed, Apr 23, 2008 at 12:47 PM, Jeremy Mann [EMAIL PROTECTED] wrote: Nope.. asterisk*CLI dundi lookup [EMAIL PROTECTED] 1. 0 SIP/priv:[EMAIL PROTECTED]/400 (EXISTS) from 00:1e:0b:dd:e9:99, expires in 5 s DUNDi lookup completed in 104 ms -- Executing [EMAIL PROTECTED]:1] Set(SIP/156-08274b60, CDR(accountcode)=wth) in new stack -- Executing [EMAIL PROTECTED]:2] Set(SIP/156-08274b60, CALLERID(all)=Corporate 100) in new stack -- Executing [EMAIL PROTECTED]:3] Macro(SIP/156-08274b60, dundi-lookup|400) in new stack -- Executing [EMAIL PROTECTED]:1] Goto(SIP/156-08274b60, 400|1) in new stack -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [EMAIL PROTECTED]:4] Hangup(SIP/156-08274b60, ) in new stack == Spawn extension (from-sip, 400, 4) exited non-zero on 'SIP/156-08274b60' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 10:36 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Try this, [priv] dbsecret=dundi/secret disallow=all allow=ulaw canreinvite=no nat=no context=from-internal type=friend priv = dundi-priv-local,0,SIP,priv:[EMAIL PROTECTED]/${NUMBER},nopartial On Tue, Apr 22, 2008 at 8:23 AM, Jeremy Mann [EMAIL PROTECTED] wrote: No. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 6:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP 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
Re: [asterisk-users] DUNDi and SIP
Nope.. asterisk*CLI dundi lookup [EMAIL PROTECTED] 1. 0 SIP/priv:[EMAIL PROTECTED]/400 (EXISTS) from 00:1e:0b:dd:e9:99, expires in 5 s DUNDi lookup completed in 104 ms -- Executing [EMAIL PROTECTED]:1] Set(SIP/156-08274b60, CDR(accountcode)=wth) in new stack -- Executing [EMAIL PROTECTED]:2] Set(SIP/156-08274b60, CALLERID(all)=Corporate 100) in new stack -- Executing [EMAIL PROTECTED]:3] Macro(SIP/156-08274b60, dundi-lookup|400) in new stack -- Executing [EMAIL PROTECTED]:1] Goto(SIP/156-08274b60, 400|1) in new stack -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [EMAIL PROTECTED]:4] Hangup(SIP/156-08274b60, ) in new stack == Spawn extension (from-sip, 400, 4) exited non-zero on 'SIP/156-08274b60' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 10:36 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Try this, [priv] dbsecret=dundi/secret disallow=all allow=ulaw canreinvite=no nat=no context=from-internal type=friend priv = dundi-priv-local,0,SIP,priv:[EMAIL PROTECTED]/${NUMBER},nopartial On Tue, Apr 22, 2008 at 8:23 AM, Jeremy Mann [EMAIL PROTECTED] wrote: No. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 6:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP 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
Re: [asterisk-users] DUNDi and SIP
Jeremy, It is not the dip peer that is failing but the dial plan: -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) What is in the context macro-dundi-lookup? On Wed, Apr 23, 2008 at 12:47 PM, Jeremy Mann [EMAIL PROTECTED] wrote: Nope.. asterisk*CLI dundi lookup [EMAIL PROTECTED] 1. 0 SIP/priv:[EMAIL PROTECTED]/400 (EXISTS) from 00:1e:0b:dd:e9:99, expires in 5 s DUNDi lookup completed in 104 ms -- Executing [EMAIL PROTECTED]:1] Set(SIP/156-08274b60, CDR(accountcode)=wth) in new stack -- Executing [EMAIL PROTECTED]:2] Set(SIP/156-08274b60, CALLERID(all)=Corporate 100) in new stack -- Executing [EMAIL PROTECTED]:3] Macro(SIP/156-08274b60, dundi-lookup|400) in new stack -- Executing [EMAIL PROTECTED]:1] Goto(SIP/156-08274b60, 400|1) in new stack -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [EMAIL PROTECTED]:4] Hangup(SIP/156-08274b60, ) in new stack == Spawn extension (from-sip, 400, 4) exited non-zero on 'SIP/156-08274b60' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 10:36 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Try this, [priv] dbsecret=dundi/secret disallow=all allow=ulaw canreinvite=no nat=no context=from-internal type=friend priv = dundi-priv-local,0,SIP,priv:[EMAIL PROTECTED]/${NUMBER},nopartial On Tue, Apr 22, 2008 at 8:23 AM, Jeremy Mann [EMAIL PROTECTED] wrote: No. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 6:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP 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
Re: [asterisk-users] DUNDi and SIP
I'm fairly sure SIP will never work unless I hard-code peers everywhere, which isn't going to happen. The only reason I want to use it is for the call-limit option. Looking at sip channels there is no option to pass the extension after the IP, it's always [EMAIL PROTECTED], or [EMAIL PROTECTED], not [EMAIL PROTECTED]/extension or [EMAIL PROTECTED]/extension Looks like IAX and ZAP are the only two channel types that do a /extension type setup. Extensions.conf: [macro-dundi-lookup] exten = s,1,Goto(${ARG1},1) include = dundi-priv-local include = dundi-priv-lookup [dundi-priv-local] include = internal [dundi-priv-lookup] switch = DUNDi/priv Dundi.conf: [mappings] priv = dundi-priv-local,0,IAX2,priv:[EMAIL PROTECTED]/${NUMBER},nopartial -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Wednesday, April 23, 2008 4:44 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Jeremy, It is not the dip peer that is failing but the dial plan: -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) What is in the context macro-dundi-lookup? On Wed, Apr 23, 2008 at 12:47 PM, Jeremy Mann [EMAIL PROTECTED] wrote: Nope.. asterisk*CLI dundi lookup [EMAIL PROTECTED] 1. 0 SIP/priv:[EMAIL PROTECTED]/400 (EXISTS) from 00:1e:0b:dd:e9:99, expires in 5 s DUNDi lookup completed in 104 ms -- Executing [EMAIL PROTECTED]:1] Set(SIP/156-08274b60, CDR(accountcode)=wth) in new stack -- Executing [EMAIL PROTECTED]:2] Set(SIP/156-08274b60, CALLERID(all)=Corporate 100) in new stack -- Executing [EMAIL PROTECTED]:3] Macro(SIP/156-08274b60, dundi-lookup|400) in new stack -- Executing [EMAIL PROTECTED]:1] Goto(SIP/156-08274b60, 400|1) in new stack -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [EMAIL PROTECTED]:4] Hangup(SIP/156-08274b60, ) in new stack == Spawn extension (from-sip, 400, 4) exited non-zero on 'SIP/156-08274b60' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 10:36 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Try this, [priv] dbsecret=dundi/secret disallow=all allow=ulaw canreinvite=no nat=no context=from-internal type=friend priv = dundi-priv-local,0,SIP,priv:[EMAIL PROTECTED]/${NUMBER},nopartial On Tue, Apr 22, 2008 at 8:23 AM, Jeremy Mann [EMAIL PROTECTED] wrote: No. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 6:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP 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
Re: [asterisk-users] DUNDi and SIP
Take a look at this setup, it does not use passwords on the sip peers or the mappings in Dundi. As long as you inside your network this maybe the way to go. http://www.voip-info.org/wiki/view/DUNDi+Enterprise+Configuration+SIP+with+no+passwords You could also look at the incominglimit and outgoinglimit on IAX peers On Wed, Apr 23, 2008 at 4:51 PM, Jeremy Mann [EMAIL PROTECTED] wrote: I'm fairly sure SIP will never work unless I hard-code peers everywhere, which isn't going to happen. The only reason I want to use it is for the call-limit option. Looking at sip channels there is no option to pass the extension after the IP, it's always [EMAIL PROTECTED], or [EMAIL PROTECTED], not [EMAIL PROTECTED]/extension or [EMAIL PROTECTED]/extension Looks like IAX and ZAP are the only two channel types that do a /extension type setup. Extensions.conf: [macro-dundi-lookup] exten = s,1,Goto(${ARG1},1) include = dundi-priv-local include = dundi-priv-lookup [dundi-priv-local] include = internal [dundi-priv-lookup] switch = DUNDi/priv Dundi.conf: [mappings] priv = dundi-priv-local,0,IAX2,priv:[EMAIL PROTECTED]/${NUMBER},nopartial -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Wednesday, April 23, 2008 4:44 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Jeremy, It is not the dip peer that is failing but the dial plan: -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) What is in the context macro-dundi-lookup? On Wed, Apr 23, 2008 at 12:47 PM, Jeremy Mann [EMAIL PROTECTED] wrote: Nope.. asterisk*CLI dundi lookup [EMAIL PROTECTED] 1. 0 SIP/priv:[EMAIL PROTECTED]/400 (EXISTS) from 00:1e:0b:dd:e9:99, expires in 5 s DUNDi lookup completed in 104 ms -- Executing [EMAIL PROTECTED]:1] Set(SIP/156-08274b60, CDR(accountcode)=wth) in new stack -- Executing [EMAIL PROTECTED]:2] Set(SIP/156-08274b60, CALLERID(all)=Corporate 100) in new stack -- Executing [EMAIL PROTECTED]:3] Macro(SIP/156-08274b60, dundi-lookup|400) in new stack -- Executing [EMAIL PROTECTED]:1] Goto(SIP/156-08274b60, 400|1) in new stack -- Goto (macro-dundi-lookup,400,1) [Apr 23 12:46:44] WARNING[2269]: chan_sip.c:2898 create_addr: No such host: 192.168.4.51/400 [Apr 23 12:46:44] WARNING[2269]: app_dial.c:1191 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) == Everyone is busy/congested at this time (1:0/0/1) -- Executing [EMAIL PROTECTED]:4] Hangup(SIP/156-08274b60, ) in new stack == Spawn extension (from-sip, 400, 4) exited non-zero on 'SIP/156-08274b60' -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 10:36 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP Try this, [priv] dbsecret=dundi/secret disallow=all allow=ulaw canreinvite=no nat=no context=from-internal type=friend priv = dundi-priv-local,0,SIP,priv:[EMAIL PROTECTED]/${NUMBER},nopartial On Tue, Apr 22, 2008 at 8:23 AM, Jeremy Mann [EMAIL PROTECTED] wrote: No. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 6:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP 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
Re: [asterisk-users] DUNDi and SIP
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
Re: [asterisk-users] DUNDi and SIP
No. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 6:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP 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
Re: [asterisk-users] DUNDi and SIP
Try this, [priv] dbsecret=dundi/secret disallow=all allow=ulaw canreinvite=no nat=no context=from-internal type=friend priv = dundi-priv-local,0,SIP,priv:[EMAIL PROTECTED]/${NUMBER},nopartial On Tue, Apr 22, 2008 at 8:23 AM, Jeremy Mann [EMAIL PROTECTED] wrote: No. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Reeves Sent: Tuesday, April 22, 2008 6:00 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi and SIP 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
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
Re: [asterisk-users] DUNDi and SIP
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
Re: [asterisk-users] DUNDi with SIP
Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote: I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned! [Aug 2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d' [Aug 2 13:07:13] -- Executing NoOp(SIP/3254101-6373, *** OnNet originated call Chocolate Chip 3254101 - 9220371) in new stack [Aug 2 13:07:13] -- Executing AGI(SIP/3254101-6373, ipt/originator.py) in new stack [Aug 2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py [Aug 2 13:07:13] -- AGI Script Executing Application: (SetAccount) Options: (9220371) [Aug 2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371) [Aug 2 13:07:14] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371) [Aug 2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371 [Aug 2 13:07:14] NOTICE[5429]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) [Aug 2 13:07:14] == Everyone is busy/congested at this time (1:0/0/1) Not sure what is going on. I can see the query at the other end, but it doesn't look like it ever receives the call. Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] DUNDi with SIP
Secret? Do you mean sbsecret in sip.conf? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 1:33 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi with SIP Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote: I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned! [Aug 2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d' [Aug 2 13:07:13] -- Executing NoOp(SIP/3254101-6373, *** OnNet originated call Chocolate Chip 3254101 - 9220371) in new stack [Aug 2 13:07:13] -- Executing AGI(SIP/3254101-6373, ipt/originator.py) in new stack [Aug 2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py [Aug 2 13:07:13] -- AGI Script Executing Application: (SetAccount) Options: (9220371) [Aug 2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371) [Aug 2 13:07:14] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371) [Aug 2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371 [Aug 2 13:07:14] NOTICE[5429]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) [Aug 2 13:07:14] == Everyone is busy/congested at this time (1:0/0/1) Not sure what is going on. I can see the query at the other end, but it doesn't look like it ever receives the call. Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] DUNDi with SIP
I'm talking about the rotating DUNDi secret that is stored in dbsecret in iax.conf. It doesn't exist in the SIP channel. On Wed, 2006-08-02 at 13:43 -0600, Douglas Garstang wrote: Secret? Do you mean sbsecret in sip.conf? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 1:33 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi with SIP Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote: I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned! [Aug 2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d' [Aug 2 13:07:13] -- Executing NoOp(SIP/3254101-6373, *** OnNet originated call Chocolate Chip 3254101 - 9220371) in new stack [Aug 2 13:07:13] -- Executing AGI(SIP/3254101-6373, ipt/originator.py) in new stack [Aug 2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py [Aug 2 13:07:13] -- AGI Script Executing Application: (SetAccount) Options: (9220371) [Aug 2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371) [Aug 2 13:07:14] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371) [Aug 2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371 [Aug 2 13:07:14] NOTICE[5429]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) [Aug 2 13:07:14] == Everyone is busy/congested at this time (1:0/0/1) Not sure what is going on. I can see the query at the other end, but it doesn't look like it ever receives the call. Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] DUNDi with SIP
So what are the options? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 2:03 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] DUNDi with SIP I'm talking about the rotating DUNDi secret that is stored in dbsecret in iax.conf. It doesn't exist in the SIP channel. On Wed, 2006-08-02 at 13:43 -0600, Douglas Garstang wrote: Secret? Do you mean sbsecret in sip.conf? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 1:33 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi with SIP Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote: I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned! [Aug 2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d' [Aug 2 13:07:13] -- Executing NoOp(SIP/3254101-6373, *** OnNet originated call Chocolate Chip 3254101 - 9220371) in new stack [Aug 2 13:07:13] -- Executing AGI(SIP/3254101-6373, ipt/originator.py) in new stack [Aug 2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py [Aug 2 13:07:13] -- AGI Script Executing Application: (SetAccount) Options: (9220371) [Aug 2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371) [Aug 2 13:07:14] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371) [Aug 2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371 [Aug 2 13:07:14] NOTICE[5429]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) [Aug 2 13:07:14] == Everyone is busy/congested at this time (1:0/0/1) Not sure what is going on. I can see the query at the other end, but it doesn't look like it ever receives the call. Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] DUNDi with SIP
You can use an unchanging password. It's not as secure, but it will provide functionality.AlexOn 8/2/06, Douglas Garstang [EMAIL PROTECTED] wrote:So what are the options? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2006 2:03 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] DUNDi with SIP I'm talking about the rotating DUNDi secret that is stored in dbsecret in iax.conf.It doesn't exist in the SIP channel. On Wed, 2006-08-02 at 13:43 -0600, Douglas Garstang wrote: Secret? Do you mean sbsecret in sip.conf?-Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2006 1:33 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi with SIP Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote:I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned! [Aug2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d'[Aug2 13:07:13] -- Executing NoOp(SIP/3254101-6373, *** OnNet originated call Chocolate Chip 3254101 - 9220371) in new stack[Aug2 13:07:13] -- Executing AGI(SIP/3254101-6373, ipt/originator.py) in new stack[Aug2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py[Aug2 13:07:13] -- AGI Script Executing Application: (SetAccount) Options: (9220371)[Aug2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371)[Aug2 13:07:14] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371)[Aug2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371[Aug2 13:07:14] NOTICE[5429]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) [Aug2 13:07:14] == Everyone is busy/congested at this time (1:0/0/1) Not sure what is going on. I can see the query at the other end, but it doesn't look like it ever receives the call. Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit:http://lists.digium.com/mailman/listinfo/asterisk-users ___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users-- Alex Robar [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] DUNDi with SIP
I've tried doing it without a username/password as described at: http://www.voip-info.org/wiki/view/DUNDi+Enterprise+Configuration+SIP+with+no+passwords but then authentication to the INVITE fails. I'm authenticating on the from: field, ie the individual user, which I don't think is right. I've also tried it with this in dundi.conf: 180netsip = global_dundi_local,1,SIP,dundisip:[EMAIL PROTECTED]/${NUMBER},nopartial and this in sip.conf: [dundisip] type=user context=global_dundi_local secret=password and I still get the 'create_addr: No such host: xxx.yyy.142.163/9220371' messages on the client side. Doug. -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 2:03 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] DUNDi with SIP I'm talking about the rotating DUNDi secret that is stored in dbsecret in iax.conf. It doesn't exist in the SIP channel. On Wed, 2006-08-02 at 13:43 -0600, Douglas Garstang wrote: Secret? Do you mean sbsecret in sip.conf? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 1:33 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi with SIP Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote: I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned! [Aug 2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d' [Aug 2 13:07:13] -- Executing NoOp(SIP/3254101-6373, *** OnNet originated call Chocolate Chip 3254101 - 9220371) in new stack [Aug 2 13:07:13] -- Executing AGI(SIP/3254101-6373, ipt/originator.py) in new stack [Aug 2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py [Aug 2 13:07:13] -- AGI Script Executing Application: (SetAccount) Options: (9220371) [Aug 2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371) [Aug 2 13:07:14] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371) [Aug 2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371 [Aug 2 13:07:14] NOTICE[5429]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) [Aug 2 13:07:14] == Everyone is busy/congested at this time (1:0/0/1) Not sure what is going on. I can see the query at the other end, but it doesn't look like it ever receives the call. Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems Technician Sam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [asterisk-users] DUNDi with SIP
Alex, Thanks... I haven't had any luck with it yet. My dundi.conf has: 180netsip = global_dundi_local,1,SIP,dundisip:[EMAIL PROTECTED]/${NUMBER},nopartial and my sip.conf has: [dundisip]type=usercontext=global_dundi_localsecret=password A DUNDI lookup on the console returns a SIP path: *CLI dundi lookup [EMAIL PROTECTED] 1. 1 SIP/dundisip:[EMAIL PROTECTED]/9220370 (EXISTS) from 00:14:22:1e:2a:d0, expires in 0 sDUNDi lookup completed in 129 ms However, when I try to connect, I get a 'No such host' error... *CLI [Aug 2 14:18:43] -- Executing NoOp("SIP/3254101-a8d9", "*** OnNet originated call "Chocolate Chip" 3254101 - 9220371") in new stack[Aug 2 14:18:43] -- Executing AGI("SIP/3254101-a8d9", "ipt/originator.py") in new stack[Aug 2 14:18:43] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py[Aug 2 14:18:43] -- AGI Script Executing Application: (SetAccount) Options: (9220371)[Aug 2 14:18:43] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371)[Aug 2 14:18:43] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371)[Aug 2 14:18:43] WARNING[7842]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371[Aug 2 14:18:43] NOTICE[7842]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)[Aug 2 14:18:43] == Everyone is busy/congested at this time (1:0/0/1) Doug. -Original Message-From: Alex Robar [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 02, 2006 2:17 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [asterisk-users] DUNDi with SIPYou can use an unchanging password. It's not as secure, but it will provide functionality.Alex On 8/2/06, Douglas Garstang [EMAIL PROTECTED] wrote: So what are the options? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2006 2:03 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] DUNDi with SIP I'm talking about the rotating DUNDi secret that is stored in dbsecret in iax.conf.It doesn't exist in the SIP channel. On Wed, 2006-08-02 at 13:43 -0600, Douglas Garstang wrote: Secret? Do you mean sbsecret in sip.conf?-Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2006 1:33 PMTo: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi with SIP Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote:I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned! [Aug2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d'[Aug2 13:07:13] -- Executing NoOp("SIP/3254101-6373", "*** OnNet originated call "Chocolate Chip" 3254101 - 9220371") in new stack [Aug2 13:07:13] -- Executing AGI("SIP/3254101-6373","ipt/originator.py") in new stack[Aug2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py [Aug2 13:07:13] -- AGI Script Executing Application:(SetAccount) Options: (9220371) [Aug2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371)[Aug2 13:07:14] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371) [Aug2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371 [Aug2 13:07:14] NOTICE[5429]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) [Aug2 13:07:14] == Everyone is busy/congested at this time (1:0/0/1) Not sure what is going on. I can see the query at the other end, but it doesn't look like it ever receives the call. Doug. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Aaron Daniel Computer Systems TechnicianSam Houston State University [EMAIL PROTECTED] (936) 294-4198 ___ --Bandwidth and Colocation provided by Easynews.com --
Re: [asterisk-users] DUNDi with SIP
Doug,Two things: If you try to place that call manually (either via dialling it from a phone that supports SP URIs or by making an ext. for it in your dialplan and calling that extension), does it work properly? Are you able to place the call? If not, is the CLI output the same as when you try it via DUNDi? Second, are your keys generated properly, with public keys shared between the two boxes OK? I had a lot of DUNDi problems initially, and found that my keys were the problem.Alex On 8/2/06, Douglas Garstang [EMAIL PROTECTED] wrote: Alex, Thanks... I haven't had any luck with it yet. My dundi.conf has: 180netsip = global_dundi_local,1,SIP,dundisip:[EMAIL PROTECTED]/${NUMBER},nopartial and my sip.conf has: [dundisip]type=usercontext=global_dundi_localsecret=password A DUNDI lookup on the console returns a SIP path: *CLI dundi lookup [EMAIL PROTECTED] 1. 1 SIP/dundisip:[EMAIL PROTECTED]/9220370 (EXISTS) from 00:14:22:1e:2a:d0, expires in 0 sDUNDi lookup completed in 129 ms However, when I try to connect, I get a 'No such host' error... *CLI [Aug 2 14:18:43] -- Executing NoOp(SIP/3254101-a8d9, *** OnNet originated call Chocolate Chip 3254101 - 9220371) in new stack[Aug 2 14:18:43] -- Executing AGI(SIP/3254101-a8d9, ipt/originator.py) in new stack[Aug 2 14:18:43] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py[Aug 2 14:18:43] -- AGI Script Executing Application: (SetAccount) Options: (9220371)[Aug 2 14:18:43] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371)[Aug 2 14:18:43] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371)[Aug 2 14:18:43] WARNING[7842]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371[Aug 2 14:18:43] NOTICE[7842]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)[Aug 2 14:18:43] == Everyone is busy/congested at this time (1:0/0/1) Doug. -Original Message-From: Alex Robar [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 02, 2006 2:17 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [asterisk-users] DUNDi with SIPYou can use an unchanging password. It's not as secure, but it will provide functionality.Alex On 8/2/06, Douglas Garstang [EMAIL PROTECTED] wrote: So what are the options? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2006 2:03 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] DUNDi with SIP I'm talking about the rotating DUNDi secret that is stored in dbsecret in iax.conf.It doesn't exist in the SIP channel. On Wed, 2006-08-02 at 13:43 -0600, Douglas Garstang wrote: Secret? Do you mean sbsecret in sip.conf?-Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2006 1:33 PMTo: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi with SIP Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote:I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned! [Aug2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d'[Aug2 13:07:13] -- Executing NoOp(SIP/3254101-6373, *** OnNet originated call Chocolate Chip 3254101 - 9220371) in new stack [Aug2 13:07:13] -- Executing AGI(SIP/3254101-6373,ipt/originator.py) in new stack[Aug2 13:07:13] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py [Aug2 13:07:13] -- AGI Script Executing Application:(SetAccount) Options: (9220371) [Aug2 13:07:13] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371)[Aug2 13:07:14] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371) [Aug2 13:07:14] WARNING[5429]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371 [Aug2 13:07:14] NOTICE[5429]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination) [Aug2 13:07:14] == Everyone is busy/congested at this time (1:0/0/1) Not sure what is going on. I can see the query at the other end, but it doesn't look like it ever receives the call. Doug. ___ --Bandwidth and Colocation provided
RE: [asterisk-users] DUNDi with SIP
Alex, Yep, I can dial 9220370 directly. I have two extensions on pbx1 and two on pbx2. I can place calls from 9220371 to 9220370 which goes through pbx2 only, and all is ok. 9220370 and 9220371 are registered on pbx2. I had this all working with IAX. I didn't change the keys... so I would assume that they would all still be ok. I haven't modified the keys or the key definitions in dundi.conf. Doug -Original Message-From: Alex Robar [mailto:[EMAIL PROTECTED]Sent: Wednesday, August 02, 2006 2:48 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [asterisk-users] DUNDi with SIP Doug,Two things: If you try to place that call manually (either via dialling it from a phone that supports SP URIs or by making an ext. for it in your dialplan and calling that extension), does it work properly? Are you able to place the call? If not, is the CLI output the same as when you try it via DUNDi? Second, are your keys generated properly, with public keys shared between the two boxes OK? I had a lot of DUNDi problems initially, and found that my keys were the problem.Alex On 8/2/06, Douglas Garstang [EMAIL PROTECTED] wrote: Alex, Thanks... I haven't had any luck with it yet. My dundi.conf has: 180netsip = global_dundi_local,1,SIP,dundisip:[EMAIL PROTECTED]/${NUMBER},nopartial and my sip.conf has: [dundisip]type=usercontext=global_dundi_localsecret=password A DUNDI lookup on the console returns a SIP path: *CLI dundi lookup [EMAIL PROTECTED] 1. 1 SIP/dundisip:[EMAIL PROTECTED]/9220370 (EXISTS) from 00:14:22:1e:2a:d0, expires in 0 sDUNDi lookup completed in 129 ms However, when I try to connect, I get a 'No such host' error... *CLI [Aug 2 14:18:43] -- Executing NoOp("SIP/3254101-a8d9", "*** OnNet originated call "Chocolate Chip" 3254101 - 9220371") in new stack[Aug 2 14:18:43] -- Executing AGI("SIP/3254101-a8d9", "ipt/originator.py") in new stack[Aug 2 14:18:43] -- Launched AGI Script /var/lib/asterisk/agi-bin/ipt/originator.py[Aug 2 14:18:43] -- AGI Script Executing Application: (SetAccount) Options: (9220371)[Aug 2 14:18:43] -- AGI Script Executing Application: (ChanIsAvail) Options: (SIP/9220371)[Aug 2 14:18:43] -- AGI Script Executing Application: (Dial) Options: (SIP/dundisip:[EMAIL PROTECTED]/9220371)[Aug 2 14:18:43] WARNING[7842]: chan_sip.c:1980 create_addr: No such host: xxx.yyy.142.163/9220371[Aug 2 14:18:43] NOTICE[7842]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)[Aug 2 14:18:43] == Everyone is busy/congested at this time (1:0/0/1) Doug. -Original Message-From: Alex Robar [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 02, 2006 2:17 PMTo: Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: [asterisk-users] DUNDi with SIP You can use an unchanging password. It's not as secure, but it will provide functionality.Alex On 8/2/06, Douglas Garstang [EMAIL PROTECTED] wrote: So what are the options? -Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2006 2:03 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] DUNDi with SIP I'm talking about the rotating DUNDi secret that is stored in dbsecret in iax.conf.It doesn't exist in the SIP channel. On Wed, 2006-08-02 at 13:43 -0600, Douglas Garstang wrote: Secret? Do you mean sbsecret in sip.conf?-Original Message- From: Aaron Daniel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 02, 2006 1:33 PMTo: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] DUNDi with SIP Using the SECRET variable for sip doesn't work. On Wed, 2006-08-02 at 13:11 -0600, Douglas Garstang wrote:I've trying to use DUNDi with SIP to see if it works around some limitations of IAX2. I do a DUNDi lookup, get my SIP path, and try to dial it. Asterisk immediately says 'No such host', eventhough that's the path is just returned![Aug2 13:07:05] == Spawn extension (global_vmdeposit, u9220371, 3) exited non-zero on 'SIP/3254101-eb7d' [Aug2 13:07:13] -- Executing NoOp("SIP/3254101-6373","*** OnNet originated call "Chocolate Chip" 3254101 - 9220371") in new stack[Aug2 13:07:13] -- Executing AGI("SIP/3254101-6373", "ipt/originator.py") in new stack [Aug2 13:07: