Displaying 3 results from an estimated 3 matches for "function_sip_header".
Did you mean:
function_pjsip_header
2014 Feb 18
1
Dynamically setting from domain when calling friends
Hello
I have a problem where I would like to be able to send an arbitrary SIP
domain when sending a call to a registered friend. By default the from
domain is set to the IP of the Asterisk server, but I would like to set it
to something else.
The case is that when a call from a foreign domain comes in to the Asterisk,
it will connect it to the callee (but with the domain changed). When
2011 Feb 28
5
Failover Routing
Hi,
I am doing failover routing based on 2 dial commands. First route sends back
4xx response and I don't want it to try 2nd route when it is 4xx response.
Can we do failover routing based on SIP 5xx response only ?
Thanks
Deepika
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Jan 10
0
No subject
...ds
> back 404 not found for this case and if we get SIP 5xx response then
should
> try SIP/xyz.
> Is there any way to check sip responses and do failover routing based=20
> on that?
>
Have you looked at SIP_HEADER() dialplan function? =
<https://wiki.asterisk.org/wiki/display/AST/Function_SIP_HEADER>
Maybe you can parse Reason header in 4xx or 5xx response?
HTH,
-Bob
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Deepika =
Nijhawan
Sent: Tuesday, March 01, 2011 9:04 AM
To: 'Asterisk Users Mai...