chan_sip.c:1973 create_addr: No such host


I am running asterisk 1.2.7 and having a problem with sip dialing out.

I have 2 different sip outgoing providers, both have the same problem with asterisk but work directly with my pap2 adaptor.

I get incoming calls fine from both of these providers. I CAN send calls through iax2 using fwd provider.

The error I am getting is:

– Executing Dial(“SIP/6000-9b2f”, “SIP/userassword@”) in new stack
Aug 19 17:37:19 WARNING[20164]: chan_sip.c:1973 create_addr: No such host:
Aug 19 17:37:19 NOTICE[20164]: app_dial.c:1029 dial_exec_full: Unable to create
channel of type ‘SIP’ (cause 3 - No route to destination)

I can ping successfully.

I am really stuck on this and am starting to get desparate since my sunrocket account died. Any suggestions would be greatly appreciated. Thanks in advance.