[Serusers] Forwarding to another number if busy
greg at august.net
Fri Jun 6 15:48:32 CEST 2003
I'm still using 0.8.10 with all of the patches.
I know I should use the newer stuff, but I
experienced many core dumps. I'll give the new
stuff a try again this weekend.
I ran into another problem with my forwarding script.
My code looks like:
If(src_ip == my.pstn.gateway.address)
This means that calls can come from my gateway without
authentication. Later on in the script:
This logic only works if I get rid of
my authentication/challenge logic. Because the
T_relay() src_ip address is NOT the pstn.gateway
address after the reply_route executes!
So, I tried putting a line in the reply_route that did:
And changed the beginning of my script:
If(src_ip == my.pstn.gateway.address | isflagset(9))
This doesn't work. I know the flag was set in the reply_route, but
it is not recognized in the main script.
Do you know what I'm talking about? Any ideas?
> -----Original Message-----
> From: Jan Janak [mailto:jan at iptel.org]
> Sent: Friday, June 06, 2003 8:18 AM
> To: Greg Fausak
> Cc: 'Jiri Kuthan'; serusers at lists.iptel.org; sip at august.net
> Subject: Re: [Serusers] Forwarding to another number if busy
> On 04-06 16:01, Greg Fausak wrote:
> > I tried a lookup("location") in my reply_route, got this error:
> > Jun 4 14:53:42 rave ser: lookup(): Unable to find To HF
> what version of ser do you use ? One of previous version was looking
> for To header field although the header field was not used, but this
> was fixed a long time ago.
More information about the sr-users