[Freeswitch-users] callee id inbound

ehermouet at bluetel.fr ehermouet at bluetel.fr
Thu Mar 28 16:51:56 MSK 2013


Hi all

nobody know ?

It's very urgent please :)

tks for advance for your help


Le 2013-03-27 19:44, Erwan Hermouet a écrit :
> .Tks for your reply
>
> I do it, but i never see called number on sip tarce.
>
> Here the sip that i receive
>
> 3             Dev(3):[sip:12345 at blue.fr:5060 / 12345]: PBX
> contact is public IP: <sip:12345 at 82.x.x.x:5060>
>
> 27-mars-2013 19:40:39.105         [CM503012]: Inbound office
> hours rule (unnamed) for 10000 forwards to DN:999
>
> 27-mars-2013 19:40:39.105         [Flow] Looking for inbound
> target: called=12345; caller="067xxxx" <sip:067xxxxx@:5060>
>
> 27-mars-2013 19:40:39.105         CallerNameAddr:
> "067xxxxx4"sip:067xxxxx;nf=e [1]
>
> I must see called number before freeswitch
>
> Like here 7931 and not 12345
>
>   Max-Forwards: 70
>
>   Contact: <sip:025xxxxx at 192.168.0.243:5060>
>
>   To: <sip:7931 at 192.168.0.242>
>
>   From: <sip:0253xxxxx at 192.168.0.243:5060>;tag=486d6569e9
>
>   Call-ID: c62f94408c1f3c7c
>
> Tks advance for your help
>
> DE : freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] DE LA PART DE
> Steven Schoch
> ENVOYÉ : mercredi 27 mars 2013 19:30
> À : FreeSWITCH Users Help
> OBJET : Re: [Freeswitch-users] callee id inbound
>
> On Wed, Mar 27, 2013 at 1:31 AM, Erwan Hermouet <ehermouet at bluetel.fr
> [2]> wrote:
>
>> <condition field="destination_number"
>> expression="^(10[01][0-9])$|^(12345)$">
>
> The problem with that condition is you have 2 expressions in
> parenthesis. Thus, if the destination number is from 1000 to 1019, it
> will set $1 to the number. However, if the destination number is
> 12345, then it will set $2 to that number, and leave $1 unset.
>
> You can fix that problem by changing it to this:
>
>  <condition field="destination_number"
> expression="^(10[01][0-9]|12345)$">




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list