modify alphanumeric called party numbers with sip-profiles

Unanswered Question
Sep 7th, 2009
User Badges:

I'm trying to modify the notify message for a sip-call alerted to a non-numerical destination in a UBE. Sounds freaky, but this is what sipgate.com is doing. The following example shows the INVITE with the TO: address, which I like to "clean" from the non-numeric characters. It would be enough to use just the leading digits to identify the called party. Then I could use a standard dial-peer to send the call into UCM. I went through the configuration examples for sip-profiles and read the other posts, but seems I'm overlooking something here.


I used lower case "x" in this example to mask my phone numbers. It is the sip:[email protected]:5060 which I have the problem with. A debug voip dialpeer shows that the incoming dial-peer is matched if I use "incoming 5276466", but the sip-profile is not triggered incoming only outgoing. An outgoing dial-peer cannot be triggered because even with a destination-pattern like "527T" is not recognized if there are illegal characters in the called party information. What am I overlooking here to get rid of these extra characters, or how can a UBE digest this kind of called party information??

-----------------------------------------

received:

INVITE sip:[email protected]:5060 SIP/2.0

Record-Route: <sip:204.155.28.10;lr=on;ftag=as5a0dad6a>

Record-Route: <sip:172.30.20.1;lr=on>

Record-Route: <sip:204.155.28.10;lr=on;ftag=as5a0dad6a>

Via: SIP/2.0/UDP 204.155.28.10:5060;branch=z9hG4bK61c1.cf79bce7.0

Via: SIP/2.0/UDP 172.30.20.1;branch=z9hG4bK61c1.cf79bce7.0

Via: SIP/2.0/UDP 204.155.28.10:5060;received=204.155.28.21;branch=z9hG4bK4e189a7e

Via: SIP/2.0/UDP 204.155.29.54:5060;branch=z9hG4bK4e189a7e;rport=5060

Max-Forwards: 67

From: "415xxxxxx" <sip:[email protected]>;tag=as5a0dad6a

To: <sip:[email protected]>

Contact: <sip:[email protected]>

Call-ID: [email protected]

CSeq: 103 INVITE

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO

Supported: replaces, timer

X-Timeout: 120

X-ORIGSIPCALLID: [email protected]

Content-Type: application/sdp

Content-Length: 405

X-To-Domain: sipgate.com




  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion