Jump to content

emuessig

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by emuessig

  1. Interesting point...

     

    The text in the quotes is usually not suitable for routing purposes. Usually there are names, thus there is (currently) no way to use that field. However, it is actually not a big deal to add this (lets say with the flag d for display so that "td" would make it happen) and we'll add it to the next build.

     

    The text in the quotes is how the FritzBox forwards the MSN via a LAN phone. I am looking forward for the next release to access this for routing. Thanks!

     

    emuessig

  2. Hello,

     

    I try to setup a trunk to send to extension via the "To" field. The call is coming in via a LAN phone

    from a Fritzbox.

     

    The "Send call.." setting is: "!([0-9]{3}$)!\1!u!77!"

     

    I have created an account with the following numbers: "40 385 4385"

     

    As you see from below log the "To" line is: To is "4385" <sip:620@192.168.178.20:5110;line=e4da3b7f;user=phone>,

     

    I want to use "4385" for sending, but it seems that "\u" selects the "620".

    I've also tried to use "\t", but that made no difference.

     

    How can I access the "4385" via regexp?

     

    I don't want to use the "620" as an extension as the "To" can also be "4640".

     

     

    From Call log:

     

    Start From To Duration Trunk

    2012/09/26 19:04:56 061xxxxxxxxx 4385 (620)(77) FBF LAN1

     

     

    From Logfile:

     

    From: <sip:061xxxxxxxxx4@fritz.fonwlan.box>;tag=7AA51BBF9401BCCE

    To: "4385" <sip:620@192.168.178.20:5110;line=e4da3b7f>;tag=814ef923fd;+sip.instance="<urn:uuid:fffdbf9f-e34a-4dc2-88be-6ecf4f211589>"

    Call-ID: 2195D7FE522A4499@192.168.178.1

    CSeq: 53 INVITE

    Content-Length: 0

     

     

    [8] 2012/09/26 19:04:56: Incoming call: Request URI sip:620@192.168.178.20:5110;line=e4da3b7f, To is "4385" <sip:620@192.168.178.20:5110;line=e4da3b7f>

    [8] 2012/09/26 19:04:56: To is "4385" <sip:620@192.168.178.20:5110;line=e4da3b7f;user=phone>, user 0, domain 1

    [8] 2012/09/26 19:04:56: Trying to match number 620 with ERE ([0-9]{3}$)

    [8] 2012/09/26 19:04:56: Send call to extension ERE returned 620

    [8] 2012/09/26 19:04:56: User not found for account 620 in domain muessig.no-ip.info, trying to send the call to default account 77

    [5] 2012/09/26 19:04:56: Domain trunk FBF Privat@muessig.no-ip.info sends call to 77 in domain muessig.no-ip.info

    [8] 2012/09/26 19:04:56: Set the To domain based on To user 77@muessig.no-ip.info

    [9] 2012/09/26 19:04:56: Resolve 104020: url sip:77@192.168.178.109:3072;line=oq49t3wn

    [9] 2012/09/26 19:04:56: Resolve 104020: udp 192.168.178.109 3072

    [5] 2012/09/26 19:04:56: SIP Tx udp:192.168.178.109:3072:

    INVITE sip:77@192.168.178.109:3072;line=oq49t3wn SIP/2.0

    Via: SIP/2.0/UDP 192.168.178.20:5110;branch=z9hG4bK-12734dde83a6abdd52d5e4d3cc7944f5;rport

     

     

     

    thanks!

    emuessig

  3. Hi,

     

    thanks for the clarification, Norbert. That's what I want to do.

     

    To stay with Norberts sample: I have now created a LAN phone on my FritzBox which

    listens to MSN 398330, 398331 and 3983302.

     

    In snomone I created a trunk which registers this LAN phone.

    I created three extensions "40 398330" and "41 398331" and "42 398332".

    Then I tried to find out what to put in "Send call to extension:"

     

    - when I put "40 41 42" snomone will always select extension 40

    - I then tried "398330 398331 3983302" which failed with "unknown extension" error

     

    How do I need to setup the trunk in snomone to route to different extension

    according to the MSN?

  4. Hello,

     

    I've setup a LAN phone on my FritzBox and register this as a trunk on snomone.

     

    how can I select different extensions based on the MSN called?

    Do I need a LAN phone per MSN, or is there a way to decode which MSN was called?

     

    Thanks for any suggestion.

×
×
  • Create New...