[Serusers] Enum as location-database
Andreas Granig
a.granig at inode.at
Thu Aug 12 20:55:50 CEST 2004
Soren (Home) wrote:
> I am not sure what you mean by ISDN PBX - its a PBX located on a
> dialup-ISDN or?
It's a ISDN-SIP gateway acting as a UAC, see
http://inalp.com/en/products/smartnode/index.htm for details.
And the PBX is connected to it.
> Just to understand your scenario:
>
> You have: INVITE 0123451000 at my.domain
>
> Which you can lookup as: 012345 at my.domain
>
> Which returns a contact like: 012345 at 1.2.3.4
>
> Where you need to append the extention: 0123451000 at 1.2.3.4
>
> Is this correct?
That's it, yes.
> exec_dst('
> SIP_RHOST=${SIP_RURI/sip:*@/}
> echo "sip:$SIP_OUSER@$SIP_RHOST"
> '):
D'oh, yes, SIP_OUSER is the beast i was looking for. I better should
RTFM ;o)
You're right, that's a much niftier way to do this...
Thanks alot,
Andy
More information about the sr-users
mailing list