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

Reply via email to