[cisco-voip] SIP: route incoming INVITE on To header?
Sinisa Djokic
sdjokic at mds.rs
Mon Mar 21 13:23:34 EDT 2011
yup..
you could use tcl script on incoming dial-peer to pull content of TO header and based on that create an outgoing call leg to whatever you need ( CUCM or something else )..
regards..
Sinisa Djokic
System Engineer
CCIE #25996 Voice
MDS Informaticki inzenjering
Bul. Milutina Milankovica 7d
11070 Novi Beograd, Serbia
Tel: +381 11 2015 200 +381 11 2015 200 , 2015 273
Fax: +381 11 3194 954
www.mds.rs
sdjokic at mds.rs
Please kindly consider the environment before printing this e-mail and any attachments
Ova e-mail poruka i bilo koji njeni dodaci namenjeni su isključivo imenovanom primaocu. Može sadržati poverljive informacije koje mogu biti zaštićene čuvanjem poslovne tajne. Ukoliko niste imenovani primaoc (ili ovlašćeni u ime primaoca), ne smete kopirati ili koristiti ovu poruku ili bilo koji dodatak poruci te otkriti sadržaj poruke bilo kome drugome. U slučaju da Vam je ovaj e-mail poslan greškom, molimo da odmah obavestite pošiljaoca i izbrišete ovaj e-mail.
This e-mail message and any attachment are intended exclusively for the named addressee. They may contain confidential information which may also be protected by professional secrecy. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use this message or any attachment or disclose the contents to anyone else. If this e-mail was sent to you by mistake please notify the sender immediately and delete this e-mail.
-----Original Message-----
From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Mark Holloway
Sent: Monday, March 21, 2011 6:04 PM
To: Cisco VOIP
Subject: [cisco-voip] SIP: route incoming INVITE on To header?
I've got CUBE registered via a SIP Trunk to a SIP registrar. When a call (INVITE) comes from the SIP registrar towards CUBE, the request URI from the registrar is the main trunking number which is different than the number in the To header. For example, if my main Pilot number is 4805551000 (same number used in sip-ua credentials and authentication) but CUCM's DN block is 4805551000 - 1099, and a call comes in from the registrar destined for 4805551009, the INVITE request-uri from the registrar contain 4805551000 but the To header contains 4805551009. Is there a way to force CUBE to route incoming INVITES based on the To header instead of the request-uri? Normally on the Service Provider side the SBC would re-write to request-uri to match the To header (for sip connect) but in my case I don't have an SBC in the network.
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
More information about the cisco-voip
mailing list