Monday, November 3, 2008

Re: [asterisk-biz] Returning Error Codes

Hey Bret,

Thanks for the response. What we actually need is nothing as complicated
as that. For whatever reason the client needs to see code 34 regardless
of the cause of call failure. So basically if the call doesn't connect
I'm supposed to send back code 34.

Does that make sense?

Trixter aka Bret McDanel wrote:
> On Mon, 2008-11-03 at 14:05 -0500, Jared Smith wrote:
>> On Sun, 2008-11-02 at 12:24 -0500, Igor Hernandez wrote:
>>> Recently we've had a client come to us requesting a specific error
>>> code
>>> be returned from our switch because they need it for their LCR.
>>>
>>> Is there a way in Asterisk to return a specific error code instead of
>>> just passing down the error code returned from the carrier's switch?
>> Recent versions of Asterisk allow you to pass a cause code as the first
>> (and only) argument to the Hangup() application.
>>
>
> can you get and respond to the error code from someone else and make a
> choice based on that? It seems that his problem was (based on the above
> description, and I may be wrong) that he sends a call via Dial() and
> that the error code they send is being sent back, granted you can
> intercept that with an additional hangup and you can do the dialplan
> stuff to see noanswer, busy, etc but that does not mean that you get the
> code itself, for example can you differentiate between a 503 and a 500
> or something equally similar?
>
> Sometimes the numeric is handy, although its channel specific so a
> mapping to something else may be useful, but if you know its sip getting
> the sip response code itself may be useful.


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-biz

Re: [asterisk-biz] Returning Error Codes

On Mon, 2008-11-03 at 14:05 -0500, Jared Smith wrote:
> On Sun, 2008-11-02 at 12:24 -0500, Igor Hernandez wrote:
> > Recently we've had a client come to us requesting a specific error
> > code
> > be returned from our switch because they need it for their LCR.
> >
> > Is there a way in Asterisk to return a specific error code instead of
> > just passing down the error code returned from the carrier's switch?
>
> Recent versions of Asterisk allow you to pass a cause code as the first
> (and only) argument to the Hangup() application.
>

can you get and respond to the error code from someone else and make a
choice based on that? It seems that his problem was (based on the above
description, and I may be wrong) that he sends a call via Dial() and
that the error code they send is being sent back, granted you can
intercept that with an additional hangup and you can do the dialplan
stuff to see noanswer, busy, etc but that does not mean that you get the
code itself, for example can you differentiate between a 503 and a 500
or something equally similar?

Sometimes the numeric is handy, although its channel specific so a
mapping to something else may be useful, but if you know its sip getting
the sip response code itself may be useful.
--
Trixter http://www.0xdecafbad.com Bret McDanel
Belfast +44 28 9099 6461 US +1 516 687 5200
http://www.trxtel.com the phone company that pays you!


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-biz

Re: [asterisk-biz] Returning Error Codes

Hello Jared,

How recent? 1.6 recent or late 1.4?

Regards,

Igor Hernandez

On Mon, Nov 3, 2008 at 2:05 PM, Jared Smith <jsmith@digium.com> wrote:
> On Sun, 2008-11-02 at 12:24 -0500, Igor Hernandez wrote:
>> Recently we've had a client come to us requesting a specific error
>> code
>> be returned from our switch because they need it for their LCR.
>>
>> Is there a way in Asterisk to return a specific error code instead of
>> just passing down the error code returned from the carrier's switch?
>
> Recent versions of Asterisk allow you to pass a cause code as the first
> (and only) argument to the Hangup() application.
>
> --
> Jared Smith
> Training Manager
> Digium, Inc.
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-biz mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-biz
>

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-biz

Re: [asterisk-biz] Returning Error Codes

On Sun, 2008-11-02 at 12:24 -0500, Igor Hernandez wrote:
> Recently we've had a client come to us requesting a specific error
> code
> be returned from our switch because they need it for their LCR.
>
> Is there a way in Asterisk to return a specific error code instead of
> just passing down the error code returned from the carrier's switch?

Recent versions of Asterisk allow you to pass a cause code as the first
(and only) argument to the Hangup() application.

--
Jared Smith
Training Manager
Digium, Inc.


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-biz

Sunday, November 2, 2008

[asterisk-biz] Returning Error Codes

Hello,

Recently we've had a client come to us requesting a specific error code
be returned from our switch because they need it for their LCR.

Is there a way in Asterisk to return a specific error code instead of
just passing down the error code returned from the carrier's switch?


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-biz mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-biz

Saturday, November 1, 2008

[asterisk-biz] Click to call

Anyone on this list implementing ‘Mobile Web’ click-to-call campaigns?

 

http://www.mediapost.com/publications/?fa=Articles.showArticleHomePage&art_aid=93819

 

Was surprised to see it state 7% of mobile advertising have a click-to-call component.

 

 

 

Regards,

Dean Collins
Cognation Inc
dean@cognation.net
+1-212-203-4357   New York
+61-2-9016-5642   (
Sydney in-dial).
+44-20-3129-6001 (London in-dial).

 

[asterisk-biz] 2 Or (971) Numbers for sale

hi;
i bought 2 numbers:
971-228-0707
and
971-228-0708
and then got the random number i wanted. I am asking for $3.95 for these numbers a month, unlimited incoming, no out going. Can if someone wants these let me know? They can be sent to whom ever you wanted in the us or canada. It gives your family a way to call you from oregon if you have any that live in oregon.
Thanks a lot, mail me
about these numbers if you do in fact want them.
thanks
mike