<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.6.2">
</HEAD>
<BODY>
a2billing is your default context in the a2billing.conf file from setup, if you have changed this, and also changed your context for your card/sip entry to callingcard you should, when you dial from your phone, be using the callingcard context. Please check your SIP entry for your phone in additional_a2billing_sip.conf to ensure that your context is set to callingcard, not a2billing (default), and then reload you sip config from the CLI.<BR>
Your phone that is registered sounds like it is not assigned to that context by default.<BR>
<BR>
J-<BR>
<BR>
<BR>
<BR>
On Sun, 2007-02-18 at 20:38 +0200, Ioan Indreias wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Hello,</FONT>
<FONT COLOR="#000000">I'm not familiar with A2billing but for me it is strange that you "dial" </FONT>
<FONT COLOR="#000000">SIP/777 - 777 should be an extension.</FONT>
<FONT COLOR="#000000">Could you post your "user" context - or at least the one which direct </FONT>
<FONT COLOR="#000000">you to:</FONT>
<FONT COLOR="#000000">Dial("SIP/9614-3896", "SIP/777|200|rt")</FONT>
<FONT COLOR="#000000">Best regards,</FONT>
<FONT COLOR="#000000">## nini @ <A HREF="http://www.modulo.ro">www.modulo.ro</A> ##</FONT>
<FONT COLOR="#000000"><A HREF="mailto:broadbandvoice@comcast.net">broadbandvoice@comcast.net</A> wrote:</FONT>
<FONT COLOR="#000000">> Thanks Rob, that helped a little bit but now getting a different kind </FONT>
<FONT COLOR="#000000">> of error:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> -- Executing Dial("SIP/9614-3896", "SIP/777|200|rt") in new stack</FONT>
<FONT COLOR="#000000">> Feb 18 06:00:30 NOTICE[12236]: app_dial.c:1011 dial_exec_full: Unable </FONT>
<FONT COLOR="#000000">> to create channel of type 'SIP' (cause 3 - No route to destination)</FONT>
<FONT COLOR="#000000">> == Everyone is busy/congested at this time (1:0/0/1)</FONT>
<FONT COLOR="#000000">> == Auto fallthrough, channel 'SIP/9614-3896' status is 'CHANUNAVAIL'</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> -------------- Original message --------------</FONT>
<FONT COLOR="#000000">> From: Rob Hillis <<A HREF="mailto:rob@hillis.dyndns.org">rob@hillis.dyndns.org</A>></FONT>
<FONT COLOR="#000000">> I guess the obvious question would be whether the "callingcard"</FONT>
<FONT COLOR="#000000">> context is included into the context that the call is coming</FONT>
<FONT COLOR="#000000">> from. That's the usual reason for a failure like this.</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> <A HREF="mailto:broadbandvoice@comcast.net">broadbandvoice@comcast.net</A> wrote:</FONT>
<FONT COLOR="#000000">>> I have followed all the install note for A2billing and have</FONT>
<FONT COLOR="#000000">>> everything installed and configured and my asterisk works except</FONT>
<FONT COLOR="#000000">>> the callingcard application.</FONT>
<FONT COLOR="#000000">>> Added the following</FONT>
<FONT COLOR="#000000">>> [callingcard]</FONT>
<FONT COLOR="#000000">>> ; CallingCard application</FONT>
<FONT COLOR="#000000">>> exten => 777,1,Answer</FONT>
<FONT COLOR="#000000">>> exten => 777,2,Wait,2</FONT>
<FONT COLOR="#000000">>> exten => 777,3,DeadAGI,a2billing.php</FONT>
<FONT COLOR="#000000">>> exten => 777,4,Wait,2</FONT>
<FONT COLOR="#000000">>> exten => 777,5,Hangup</FONT>
<FONT COLOR="#000000">>> I am using 777 as the calling card application. when I call that</FONT>
<FONT COLOR="#000000">>> extension, instead of getting " please enter you pin number" it</FONT>
<FONT COLOR="#000000">>> fails and this is the output from the cli:</FONT>
<FONT COLOR="#000000">>> -- Executing Dial("SIP/9614-e7ba", "SIP/777|200|rt") in new stack</FONT>
<FONT COLOR="#000000">>> Feb 18 05:03:38 WARNING[11725]: chan_sip.c:1968 create_addr: No</FONT>
<FONT COLOR="#000000">>> such host: 777</FONT>
<FONT COLOR="#000000">>> Feb 18 05:03:38 NOTICE[11725]: app_dial.c:1011 dial_exec_full:</FONT>
<FONT COLOR="#000000">>> Unable to create channel of type 'SIP' (cause 3 - No route to</FONT>
<FONT COLOR="#000000">>> destination)</FONT>
<FONT COLOR="#000000">>> == Everyone is busy/congested at this time (1:0/0/1)</FONT>
<FONT COLOR="#000000">>> == Auto fallthrough, channel 'SIP/9614-e7ba' status is</FONT>
<FONT COLOR="#000000">>> 'CHANUNAVAIL'</FONT>
<FONT COLOR="#000000">>> Any Help will be greatly appreciated.</FONT>
<FONT COLOR="#000000">>> ------------------------------------------------------------------------</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>> _______________________________________________</FONT>
<FONT COLOR="#000000">>> --Bandwidth and Colocation provided by Easynews.com --</FONT>
<FONT COLOR="#000000">>></FONT>
<FONT COLOR="#000000">>> asterisk-users mailing list</FONT>
<FONT COLOR="#000000">>> To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000">>> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
<FONT COLOR="#000000">>> </FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> ------------------------------------------------------------------------</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> Subject:</FONT>
<FONT COLOR="#000000">> Re: [asterisk-users] chan_sip.c:1968 create_addr: No such host:</FONT>
<FONT COLOR="#000000">> From:</FONT>
<FONT COLOR="#000000">> Rob Hillis <<A HREF="mailto:rob@hillis.dyndns.org">rob@hillis.dyndns.org</A>></FONT>
<FONT COLOR="#000000">> Date:</FONT>
<FONT COLOR="#000000">> Sun, 18 Feb 2007 12:43:59 +0000</FONT>
<FONT COLOR="#000000">> To:</FONT>
<FONT COLOR="#000000">> Asterisk Users Mailing List - Non-Commercial Discussion </FONT>
<FONT COLOR="#000000">> <<A HREF="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> To:</FONT>
<FONT COLOR="#000000">> Asterisk Users Mailing List - Non-Commercial Discussion </FONT>
<FONT COLOR="#000000">> <<A HREF="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> _______________________________________________</FONT>
<FONT COLOR="#000000">> --Bandwidth and Colocation provided by Easynews.com --</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> asterisk-users mailing list</FONT>
<FONT COLOR="#000000">> To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000">> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> ------------------------------------------------------------------------</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> _______________________________________________</FONT>
<FONT COLOR="#000000">> --Bandwidth and Colocation provided by Easynews.com --</FONT>
<FONT COLOR="#000000">></FONT>
<FONT COLOR="#000000">> asterisk-users mailing list</FONT>
<FONT COLOR="#000000">> To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000">> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">--Bandwidth and Colocation provided by Easynews.com --</FONT>
<FONT COLOR="#000000">asterisk-users mailing list</FONT>
<FONT COLOR="#000000">To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000"> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>