i have not managed to get ctl;append_headers working.  incoming message
has

P-Call-Control: ctl;append_headers=P-App-Name: sbc.

and debug shows that sems gets it:

Feb 18 07:10:44 sip sems[8368]: [#b50f6b70] [fixupCCInterface, SBC.cpp:572] 
DEBUG: instantiating CC interface from 'ctl;append_headers=P-App-Name: sbc'
Feb 18 07:10:44 sip sems[8368]: [#b50f6b70] [fixupCCInterface, SBC.cpp:577] 
DEBUG:     module='ctl'
Feb 18 07:10:44 sip sems[8368]: [#b50f6b70] [fixupCCInterface, SBC.cpp:589] 
DEBUG:     'append_headers'='P-App-Name: sbc'
...
Feb 18 07:10:44 sip sems[8368]: [#b50f6b70] [start, CCCtl.cpp:164] DEBUG: 
adding 'P-App-Name: sbc' to 'append_headers'
...
Feb 18 07:10:44 sip sems[8368]: [#b50f6b70] [evaluate, SBCCallProfile.cpp:689] 
DEBUG: append_headers = '#015#012P-App-Name: sbc#015#012'

but still the header is not in included in outgoing message:

Feb 18 07:10:44 sip sems[8368]: [#b4ff5b70] [send_request, trans_layer.cpp:952] 
DEBUG: Sending to 127.0.0.1:5080 <INVITE 
sip:[email protected]:5074;transpo...>
Feb 18 07:10:44 sip sems[8368]: [#b4ff5b70] [send, transport.cpp:109] DEBUG: 
send  msg#012--++--#012INVITE sip:[email protected]:5074;transport=tcp 
SIP/2.0#015#012Via: SIP/2.0/UDP 
127.0.0.1:5090;branch=z9hG4bK8Licvaox;rport#015#012From: "Juha Heinanen" 
<sip:[email protected]>;tag=007CFFE4-4F3F32D400093CBC-B50F6B70#015#012To: 
<sip:[email protected]>#015#012CSeq: 10 INVITE#015#012Call-ID: 
135A58C1-4F3F32D400093CDD-B50F6B70#015#012Contact: 
<sip:127.0.0.1:5090>#015#012Route: <sip:127.0.0.1:5080;lr>#015#012Max-Forwards: 
69#015#012Allow: 
INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE#015#012Supported:
 replaces,norefersub,100rel#015#012User-Agent: 
Twinkle/1.4.2#015#012P-Call-Control: 
cc_pcalls;[email protected];max_calls=1#015#012P-Asserted-Identity: 
<sip:[email protected]>#015#012P-Call-Control: 
ctl;append_headers=P-App-Name: sbc#015#012Content-Type: 
application/sdp#015#012Content-Length: 316#015#012#015#012v=0#015#012o=twinkle 
1461681769 95823
 25 IN IP4 192.98.102.10#015#012s=-#015#012c=IN IP4 192.98.102.10#015#012t=0 
0#015#012m=audio 8000 RTP/AVP 99 97 8 0 3 101#015#012a=rtpmap:99 
speex/32000#015#012a=rtpmap:97 speex/8000#015#012a=rtpmap:8 
PCMA/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:3 
GSM/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 
0-15#015#012a=ptime:20#015#012a=zrtp#015#012--++--

it there a bug or am i missing something?

-- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to