SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
devplanOffline



Joined: Apr 22, 2007
Posts: 7

Status: Offline
Posted: Jan 10, 2008 - 01:12 AM Reply with quote Back to top
My sip debug shows: (sample)

Code:
Jan 8 20:02:43 VERBOSE[15390] logger.c: -- Got SIP response 402 "Payment Required" back from 80.180.180.180
Jan 8 20:02:43 DEBUG[5129] chan_sip.c: update_call_counter(001234567878) - decrement call limit counter
Jan 8 20:02:43 VERBOSE[5129] logger.c: == No one is available to answer at this time (1:0/0/0)
Jan 8 20:02:43 DEBUG[5129] app_dial.c: Exiting with DIALSTATUS=NOANSWER.


And I am getting the voice prompt: "The number is not answering".

Which file do I need to edit (and what do I need to change) to don't get a DIALSTAUS=NOANSWER but instead something which I can trigger a prompt which says for example "No more funds at provider".

Ideally there would be a patch or add-on which says the correct reported cause and not something else.

rgds, devplan
View user's profile Send private message
devplanOffline



Joined: Apr 22, 2007
Posts: 7

Status: Offline
Posted: Jan 14, 2008 - 11:31 AM Reply with quote Back to top
Anybody, who implemented HANGUPCAUSE in conjunction with SIP response 402 or has made some progress since the info and macros in:
http://www.voip-info.org/wiki/index.php ... angupcause

rgds, devplan
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2772
Location: Bath UK
Status: Offline
Posted: Jan 14, 2008 - 02:15 PM Reply with quote Back to top
Hi

What is seen in the sip header, you may be able to do something with that. and route on any relevent response from it.

Ian
View user's profile Send private message
devplanOffline



Joined: Apr 22, 2007
Posts: 7

Status: Offline
Posted: Jan 15, 2008 - 12:32 AM Reply with quote Back to top
Thanks, ianplain.

When I do for instance a sip debug, I get for example:

SIP/2.0 200 OK or ...
SIP/2.0 404 Not Found

Is this what is in the sip header?

I would need then a programmer to write some code which I could test and by that we could give some valuable improvement back to the community...

rgds, devplan
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2772
Location: Bath UK
Status: Offline
Posted: Jan 15, 2008 - 12:53 AM Reply with quote Back to top
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2006 VoIP User.

No part of this site may be reproduced without our prior consent.