Hi, A closer look showed that SIP FOP-Originated calls are "self-addressed" While some phones tolerate that, others reply with 480 moved temporarily.
Case 1: Command Line Interface with Thomson hardphone After I typed "originate SIP/9122 application dial Local/[EMAIL PROTECTED]", 1st SIP message received is an INVITE from server like this: INVITE sip:[EMAIL PROTECTED]:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.100.254:5060;branch=z9hG4bK2e7491fc;rport From: "asterisk" <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]> >;tag=as72b7dcaf To: <sip:[EMAIL PROTECTED]:5060;user=phone> Contact: <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>> Call-ID: [EMAIL PROTECTED] CSeq: 102 INVITE User-Agent: Asterisk PBX My SIP extension 9121 Thomson hardphone starts to ring and everything is fine. Case 2: Drag and drop origination with FOP and Thomson hardphone After I dragged 9121 icon into 9123 icon, I got this : INVITE sip:[EMAIL PROTECTED]:5060;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.100.254:5060;branch=z9hG4bK690b7694;rport From: "9121 Guest1" <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]> >;tag=as237a9159 To: <sip:[EMAIL PROTECTED]:5060;user=phone> Contact: <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>> Call-ID: [EMAIL PROTECTED] CSeq: 102 INVITE User-Agent: Asterisk PBX then this : SIP/2.0 480 Temporarily Unavailable Via: SIP/2.0/UDP 192.168.100.254:5060;branch=z9hG4bK690b7694;rport From: "9121 Guest1"<sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]> >;tag=as237a9159 To: <sip:[EMAIL PROTECTED]:5060;user=phone>;tag=c0a80101-a611e Call-ID: [EMAIL PROTECTED] CSeq: 102 INVITE Content-Length: 0 With this, my SIP extension 9121 Thomson hardphone didn't start to ring. Case 3: Drag and drop origination with FOP and Siemens Gigaset S45 hardphone After I dragged 7531 icon into 9123 icon, I got this : INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.100.254:5060;branch=z9hG4bK2a4a8fb1;rport From: "7531 Marcelo Dup" <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]> >;tag=as5c8e7711 To: <sip:[EMAIL PROTECTED]:5060> Contact: <sip:[EMAIL PROTECTED] <[EMAIL PROTECTED]>> Call-ID: [EMAIL PROTECTED] CSeq: 102 INVITE User-Agent: Asterisk PBX then this : SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.100.254:5060;branch=z9hG4bK2a4a8fb1;rport=5060 From: "7531 Marcelo Dup" <sip:[EMAIL PROTECTED]<[EMAIL PROTECTED]> >;tag=as5c8e7711 To: <sip:[EMAIL PROTECTED]:5060>;tag=4240967763 Call-ID: [EMAIL PROTECTED] CSeq: 102 INVITE Contact: "Hervé" <sip:[EMAIL PROTECTED]:5060> Content-Length: 0 My SIP extension 7531 Siemens Gigaset S45 hardphone starts to ring and everything is fine. So, bottom line is : - AMI/FOP and CLI do not generate the same behaviour : with AMI/FOP, first INVITE comes from <sip:[EMAIL PROTECTED]> while with CLI, it comes from <sip:[EMAIL PROTECTED]> - some SIP phones accept <sip:[EMAIL PROTECTED]> INVITE messages while others don't. Do you agree with this conclusion ? Which workaround would you try ? Regards 2008/8/1 Olivier <[EMAIL PROTECTED]> > Hi, > > Using FOP, I've met a situation which makes me ask this simple question : > > Are both A and B commands bellow equivalent ? > > A. CLI: > originate SIP/9122 application dial Local/[EMAIL PROTECTED] > > B. AMI/FOP: > 192.168.64.5 -> Action: Originate > 192.168.64.5 -> Channel: SIP/9122 > 192.168.64.5 -> Async: True > 192.168.64.5 -> Callerid: 9122 Guest2 <9122> > 192.168.64.5 -> Exten: 9123 > 192.168.64.5 -> Context: local > 192.168.64.5 -> Priority: 1 > > > I must add both 9122 and 9123 extensions are SIP extensions which default > to "local" context. > > When using B (AMI/FOP), I've got a : > -- Got SIP response 480 "Temporarily Unavailable" back from > 192.168.100.195 > > Channel SIP/9122-081d8f68 was never answered. > where 192.168.100.195 is SIP/9122 hardphone IP address > > When using A (CLI), everything works ok. > > Regards >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users