[asterisk-dev] How to send SIP replies to another Asterisk?
Mikael Magnusson
mikma264 at gmail.com
Wed Sep 27 02:02:21 MST 2006
Hauke Joachim Zuehl wrote / skrev:
> Hello all :)
>
> I have two Asterisk servers at two different locations. A routes to B
> and if A has a problem to do a call it sends a reply back.
> The point is that I want to create own SIP messages like "603 No route
> to UA". Asterisk B then reacts somehow to this message (and maybe sends
> a BUSY back to the callee's UA).
>
> I found in SER the function sl_send_reply which is the function I am
> looking for in Asterisk. But I don't want to use SER :)
>
> So it will be nice if someone gives me hint (if necessary I will write
> the code on my own and post it to Mantis as a patch).
>
> Kind regards,
> Hauke
I don't think it's supported by Asterisk, but the RECOMMENDED mapping
for ISUP cause code 21 "call rejected" is 603 if the location is 'user',
according to RFC 3398 - Integrated Services Digital Network (ISDN) User
Part (ISUP) to Session Initiation Protocol (SIP) Mapping.
Mikael
More information about the asterisk-dev
mailing list